Class PluginAwareResultFactory
- java.lang.Object
-
- com.opensymphony.xwork2.factory.DefaultResultFactory
-
- com.atlassian.confluence.impl.struts.PluginAwareResultFactory
-
- All Implemented Interfaces:
com.opensymphony.xwork2.factory.ResultFactory
public class PluginAwareResultFactory extends com.opensymphony.xwork2.factory.DefaultResultFactoryA specialisation of the standard StrutsDefaultResultFactorywhich adds special handling forPluginAwareResultConfig, and which delegates loading of the ResultTypeConfig class from the relevantPlugin.- Since:
- 8.0
-
-
Constructor Summary
Constructors Constructor Description PluginAwareResultFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.opensymphony.xwork2.ResultbuildResult(com.opensymphony.xwork2.config.entities.ResultConfig resultConfig, Map<String,Object> extraContext)voidsetReflectionProvider(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider)
-
-
-
Method Detail
-
setReflectionProvider
public void setReflectionProvider(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider)
- Overrides:
setReflectionProviderin classcom.opensymphony.xwork2.factory.DefaultResultFactory
-
buildResult
public com.opensymphony.xwork2.Result buildResult(com.opensymphony.xwork2.config.entities.ResultConfig resultConfig, Map<String,Object> extraContext) throws Exception- Specified by:
buildResultin interfacecom.opensymphony.xwork2.factory.ResultFactory- Overrides:
buildResultin classcom.opensymphony.xwork2.factory.DefaultResultFactory- Throws:
Exception
-
-