Class PluginAwareResultFactory

  • All Implemented Interfaces:
    com.opensymphony.xwork2.factory.ResultFactory

    public class PluginAwareResultFactory
    extends com.opensymphony.xwork2.factory.DefaultResultFactory
    A specialisation of the standard Struts DefaultResultFactory which adds special handling for PluginAwareResultConfig, and which delegates loading of the ResultTypeConfig class from the relevant Plugin.
    Since:
    8.0
    • Constructor Detail

      • PluginAwareResultFactory

        public PluginAwareResultFactory()
    • Method Detail

      • setReflectionProvider

        public void setReflectionProvider​(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider)
        Overrides:
        setReflectionProvider in class com.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 interface com.opensymphony.xwork2.factory.ResultFactory
        Overrides:
        buildResult in class com.opensymphony.xwork2.factory.DefaultResultFactory
        Throws:
        Exception