Class BootstrapAwareObjectFactory
java.lang.Object
com.opensymphony.xwork2.ObjectFactory
com.opensymphony.xwork2.spring.SpringObjectFactory
com.atlassian.crowd.plugin.descriptors.webwork.BootstrapAwareObjectFactory
- All Implemented Interfaces:
Serializable,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class BootstrapAwareObjectFactory
extends com.opensymphony.xwork2.spring.SpringObjectFactory
A
SpringObjectFactory that is aware that Crowd's ApplicationContext
can change after bootstrapping.- See Also:
-
Field Summary
Fields inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory
appContext, autowireStrategy, autoWiringFactory -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory
autoWireBean, autoWireBean, findAutoWiringBeanFactory, getAutowireStrategy, isNoArgConstructorRequired, setAlwaysRespectAutowireStrategy, setApplicationContext, setApplicationContextPath, setAutowireStrategy, setEnableAopSupport, setUseClassCacheMethods inherited from class com.opensymphony.xwork2.ObjectFactory
buildAction, buildBean, buildConverter, buildInterceptor, buildResult, buildUnknownHandler, buildValidator, injectInternalBeans, setActionFactory, setClassLoader, setContainer, setConverterFactory, setInterceptorFactory, setResultFactory, setUnknownHandlerFactory, setValidatorFactory
-
Constructor Details
-
BootstrapAwareObjectFactory
public BootstrapAwareObjectFactory(javax.servlet.ServletContext servletContext)
-
-
Method Details
-
buildBean
- Overrides:
buildBeanin classcom.opensymphony.xwork2.spring.SpringObjectFactory- Throws:
Exception
-
buildBean
public Object buildBean(String beanName, Map<String, Object> extraContext, boolean injectInternal) throws Exception- Overrides:
buildBeanin classcom.opensymphony.xwork2.spring.SpringObjectFactory- Throws:
Exception
-
getClassInstance
- Overrides:
getClassInstancein classcom.opensymphony.xwork2.spring.SpringObjectFactory- Throws:
ClassNotFoundException
-