Class PluginAwareActionFactory

java.lang.Object
org.apache.struts2.factory.DefaultActionFactory
com.atlassian.confluence.impl.struts.PluginAwareActionFactory
All Implemented Interfaces:
org.apache.struts2.factory.ActionFactory

public final class PluginAwareActionFactory extends org.apache.struts2.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, org.apache.struts2.config.entities.ActionConfig config, Map<String,Object> extraContext) throws Exception
      Specified by:
      buildAction in interface org.apache.struts2.factory.ActionFactory
      Overrides:
      buildAction in class org.apache.struts2.factory.DefaultActionFactory
      Throws:
      Exception