Package org.apache.struts2.spring
Class SpringProxyableObjectFactory
java.lang.Object
org.apache.struts2.ObjectFactory
org.apache.struts2.spring.SpringObjectFactory
org.apache.struts2.spring.SpringProxyableObjectFactory
- All Implemented Interfaces:
- Serializable,- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationContextAware
SpringProxyableObjectFactory.
- Author:
- Jason Carreira
- See Also:
- 
Field SummaryFields inherited from class org.apache.struts2.spring.SpringObjectFactoryappContext, autowireStrategy, autoWiringFactory
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.struts2.spring.SpringObjectFactoryautoWireBean, autoWireBean, buildBean, buildBean, findAutoWiringBeanFactory, getAutowireStrategy, getClassInstance, isNoArgConstructorRequired, setAlwaysRespectAutowireStrategy, setApplicationContext, setApplicationContextPath, setAutowireStrategy, setEnableAopSupport, setUseClassCacheMethods inherited from class org.apache.struts2.ObjectFactorybuildAction, buildConverter, buildInterceptor, buildResult, buildUnknownHandler, buildValidator, injectInternalBeans, setActionFactory, setClassLoader, setContainer, setConverterFactory, setInterceptorFactory, setResultFactory, setUnknownHandlerFactory, setValidatorFactory
- 
Constructor Details- 
SpringProxyableObjectFactorypublic SpringProxyableObjectFactory()
 
- 
- 
Method Details- 
buildBean- Overrides:
- buildBeanin class- ObjectFactory
- Throws:
- Exception
 
- 
getApplicationContextprotected org.springframework.context.ApplicationContext getApplicationContext(Map<String, Object> context) Subclasses may override this to return a different application context. Note that this application context should see any changes made to theautoWiringFactory, so the application context should be either the original or a child context of the original.- Parameters:
- context- provided context.
- Returns:
- the application context
 
 
-