Class PluginAwareActionFactory

java.lang.Object
com.opensymphony.xwork2.factory.DefaultActionFactory
com.atlassian.confluence.impl.struts.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 Details

    • PluginAwareActionFactory

      public PluginAwareActionFactory()
  • Method Details

    • 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