Class PluginAwareActionFactory

java.lang.Object
com.atlassian.crowd.plugin.descriptors.webwork.PluginAwareActionFactory
All Implemented Interfaces:
com.opensymphony.xwork2.factory.ActionFactory

public class PluginAwareActionFactory extends Object implements com.opensymphony.xwork2.factory.ActionFactory
An Spring autowiring object factory that uses the classloader of the of PluginAware action configs to load and wire up the action class. Non-plugin actions are wired up using the standard WebWorkSpringObjectFactory mechanism.
  • Constructor Details

    • PluginAwareActionFactory

      public PluginAwareActionFactory()
  • Method Details

    • setObjectFactory

      public void setObjectFactory(com.opensymphony.xwork2.ObjectFactory objectFactory)
    • setContainer

      public void setContainer(com.opensymphony.xwork2.inject.Container container)
    • buildAction

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