Class PluginAwareActionFactory

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

    public final class PluginAwareActionFactory
    extends com.opensymphony.xwork2.factory.DefaultActionFactory
    A specialisation of the standard Struts DefaultActionFactory which adds special handling for PluginAwareActionConfig, and which delegates loading of the action class from the relevant Plugin.
    Since:
    8.0
    • Constructor Detail

      • PluginAwareActionFactory

        public PluginAwareActionFactory()
    • Method Detail

      • buildAction

        public Object buildAction​(String actionName,
                                  String namespace,
                                  com.opensymphony.xwork2.config.entities.ActionConfig config,
                                  Map<String,​Object> extraContext)
                           throws Exception
        Specified by:
        buildAction in interface com.opensymphony.xwork2.factory.ActionFactory
        Overrides:
        buildAction in class com.opensymphony.xwork2.factory.DefaultActionFactory
        Throws:
        Exception