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.DefaultResultFactory
A specialisation of the standard StrutsDefaultResultFactory
which 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.Result
buildResult(com.opensymphony.xwork2.config.entities.ResultConfig resultConfig, Map<String,Object> extraContext)
void
setReflectionProvider(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider)
-
-
-
Method Detail
-
setReflectionProvider
public void setReflectionProvider(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider)
- Overrides:
setReflectionProvider
in 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:
buildResult
in interfacecom.opensymphony.xwork2.factory.ResultFactory
- Overrides:
buildResult
in classcom.opensymphony.xwork2.factory.DefaultResultFactory
- Throws:
Exception
-
-