Package com.atlassian.confluence.plugin
Class BootstrapAwareObjectFactory
- java.lang.Object
-
- com.opensymphony.xwork2.ObjectFactory
-
- com.opensymphony.xwork2.spring.SpringObjectFactory
-
- com.atlassian.confluence.plugin.BootstrapAwareObjectFactory
-
- All Implemented Interfaces:
Serializable,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class BootstrapAwareObjectFactory extends com.opensymphony.xwork2.spring.SpringObjectFactoryASpringObjectFactorythat is aware that Confluence'sApplicationContextcan change after bootstrapping.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BootstrapAwareObjectFactory(javax.servlet.ServletContext servletContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectbuildAction(String actionName, String namespace, com.opensymphony.xwork2.config.entities.ActionConfig actionConfig, Map<String,Object> extraContext)ObjectbuildBean(Class clazz, Map<String,Object> extraContext)ObjectbuildBean(String beanName, Map<String,Object> extraContext, boolean injectInternal)ClassgetClassInstance(String className)-
Methods inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory
autoWireBean, autoWireBean, findAutoWiringBeanFactory, getAutowireStrategy, isNoArgConstructorRequired, setAlwaysRespectAutowireStrategy, setApplicationContext, setApplicationContextPath, setAutowireStrategy, setEnableAopSupport, setUseClassCache
-
Methods inherited from class com.opensymphony.xwork2.ObjectFactory
buildBean, buildConverter, buildInterceptor, buildResult, buildUnknownHandler, buildValidator, injectInternalBeans, setActionFactory, setClassLoader, setContainer, setConverterFactory, setInterceptorFactory, setResultFactory, setUnknownHandlerFactory, setValidatorFactory
-
-
-
-
Method Detail
-
buildBean
public Object buildBean(Class clazz, Map<String,Object> extraContext) throws Exception
- 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
public Class getClassInstance(String className) throws ClassNotFoundException
- Overrides:
getClassInstancein classcom.opensymphony.xwork2.spring.SpringObjectFactory- Throws:
ClassNotFoundException
-
-