Class BootstrapAwareObjectFactory
java.lang.Object
org.apache.struts2.ObjectFactory
org.apache.struts2.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 org.apache.struts2.spring.SpringObjectFactory
A
SpringObjectFactory that is aware that Crowd's ApplicationContext
can change after bootstrapping.- See Also:
-
Field Summary
Fields inherited from class org.apache.struts2.spring.SpringObjectFactory
appContext, autowireStrategy, autoWiringFactory -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.struts2.spring.SpringObjectFactory
autoWireBean, autoWireBean, findAutoWiringBeanFactory, getAutowireStrategy, isNoArgConstructorRequired, setAlwaysRespectAutowireStrategy, setApplicationContext, setApplicationContextPath, setAutowireStrategy, setEnableAopSupport, setUseClassCacheMethods inherited from class org.apache.struts2.ObjectFactory
buildAction, buildBean, buildConverter, buildInterceptor, buildResult, buildUnknownHandler, buildValidator, injectInternalBeans, setActionFactory, setClassLoader, setContainer, setConverterFactory, setInterceptorFactory, setResultFactory, setUnknownHandlerFactory, setValidatorFactory
-
Constructor Details
-
BootstrapAwareObjectFactory
public BootstrapAwareObjectFactory(jakarta.servlet.ServletContext servletContext)
-
-
Method Details
-
buildBean
- Overrides:
buildBeanin classorg.apache.struts2.spring.SpringObjectFactory- Throws:
Exception
-
buildBean
public Object buildBean(String beanName, Map<String, Object> extraContext, boolean injectInternal) throws Exception- Overrides:
buildBeanin classorg.apache.struts2.spring.SpringObjectFactory- Throws:
Exception
-
getClassInstance
- Overrides:
getClassInstancein classorg.apache.struts2.spring.SpringObjectFactory- Throws:
ClassNotFoundException
-