|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ObjectFactory
com.opensymphony.xwork2.spring.SpringObjectFactory
com.opensymphony.xwork2.spring.SpringProxyableObjectFactory
public class SpringProxyableObjectFactory
SpringProxyableObjectFactory.
| Field Summary |
|---|
| Fields inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory |
|---|
appContext, autowireStrategy, autoWiringFactory |
| Fields inherited from class com.opensymphony.xwork2.ObjectFactory |
|---|
reflectionProvider |
| Constructor Summary | |
|---|---|
SpringProxyableObjectFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
buildBean(java.lang.String beanName,
java.util.Map<java.lang.String,java.lang.Object> extraContext)
Build a generic Java object of the given type. |
protected org.springframework.context.ApplicationContext |
getApplicationContext(java.util.Map<java.lang.String,java.lang.Object> context)
Subclasses may override this to return a different application context. |
| Methods inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory |
|---|
autoWireBean, autoWireBean, buildBean, buildBean, findAutoWiringBeanFactory, getAutowireStrategy, getClassInstance, initObjectFactory, isNoArgConstructorRequired, setAlwaysRespectAutowireStrategy, setApplicationContext, setApplicationContextPath, setAutowireStrategy, setUseClassCache |
| Methods inherited from class com.opensymphony.xwork2.ObjectFactory |
|---|
buildAction, buildInterceptor, buildResult, buildValidator, getObjectFactory, injectInternalBeans, setClassLoader, setContainer, setReflectionProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringProxyableObjectFactory()
| Method Detail |
|---|
public java.lang.Object buildBean(java.lang.String beanName,
java.util.Map<java.lang.String,java.lang.Object> extraContext)
throws java.lang.Exception
ObjectFactory
buildBean in class ObjectFactorybeanName - the type of Object to buildextraContext - a Map of extra context which uses the same keys as the ActionContext
java.lang.Exceptionprotected org.springframework.context.ApplicationContext getApplicationContext(java.util.Map<java.lang.String,java.lang.Object> context)
autoWiringFactory, so the application context should be either
the original or a child context of the original.
context - provided context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||