|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ObjectFactory
com.opensymphony.xwork.spring.SpringObjectFactory
com.opensymphony.xwork.spring.SpringProxyableObjectFactory
public class SpringProxyableObjectFactory
SpringProxyableObjectFactory.
Field Summary |
---|
Fields inherited from class com.opensymphony.xwork.spring.SpringObjectFactory |
---|
appContext, autowireStrategy, autoWiringFactory |
Constructor Summary | |
---|---|
SpringProxyableObjectFactory()
|
Method Summary | |
---|---|
java.lang.Object |
buildBean(java.lang.String beanName,
java.util.Map extraContext)
Looks up beans using Spring's application context before falling back to the method defined in the ObjectFactory . |
protected org.springframework.context.ApplicationContext |
getApplicationContext(java.util.Map context)
Subclasses may override this to return a different application context. |
Methods inherited from class com.opensymphony.xwork.spring.SpringObjectFactory |
---|
autoWireBean, autoWireBean, buildBean, findAutoWiringBeanFactory, getAutowireStrategy, getClassInstance, initObjectFactory, isNoArgConstructorRequired, setApplicationContext, setAutowireStrategy, setUseClassCache |
Methods inherited from class com.opensymphony.xwork.ObjectFactory |
---|
buildAction, buildInterceptor, buildResult, buildValidator, getContinuationPackage, getObjectFactory, setContinuationPackage, setObjectFactory |
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 extraContext) throws java.lang.Exception
SpringObjectFactory
ObjectFactory
.
buildBean
in class SpringObjectFactory
beanName
- The name of the bean to look up in the application contextextraContext
- a Map of extra context which uses the same keys as the ActionContext
java.lang.Exception
protected org.springframework.context.ApplicationContext getApplicationContext(java.util.Map context)
autoWiringFactory
, so the application context should be either
the original or a child context of the original.
context
- provided context.
|
XWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |