Class PluginAwareActionConfig

java.lang.Object
com.opensymphony.xwork2.util.location.Located
com.opensymphony.xwork2.config.entities.ActionConfig
com.atlassian.crowd.plugin.descriptors.webwork.PluginAwareActionConfig
All Implemented Interfaces:
com.opensymphony.xwork2.util.location.Locatable, Serializable

public class PluginAwareActionConfig extends com.opensymphony.xwork2.config.entities.ActionConfig
ActionConfig that contains a reference to its parent plugin. This allows the action to access the classes of the plugin (provided by the OSGi class loader).
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.opensymphony.xwork2.config.entities.ActionConfig

    com.opensymphony.xwork2.config.entities.ActionConfig.Builder
  • Field Summary

    Fields inherited from class com.opensymphony.xwork2.config.entities.ActionConfig

    allowedMethods, className, DEFAULT_METHOD, DEFAULT_METHOD_REGEX, exceptionMappings, interceptors, methodName, name, packageName, params, results, strictMethodInvocation, WILDCARD

    Fields inherited from class com.opensymphony.xwork2.util.location.Located

    location
  • Method Summary

    Modifier and Type
    Method
    Description
    build(String methodName, String className, String name, Map<String,String> parameters, Map<String,com.opensymphony.xwork2.config.entities.ResultConfig> results, List<com.opensymphony.xwork2.config.entities.InterceptorMapping> interceptors, List<? extends com.opensymphony.xwork2.config.entities.ExceptionMappingConfig> exceptionMappings, String packageName, List<String> allowedMethods)
     
    com.atlassian.plugin.Plugin
     
    void
    setPlugin(com.atlassian.plugin.Plugin plugin)
     

    Methods inherited from class com.opensymphony.xwork2.config.entities.ActionConfig

    equals, getAllowedMethods, getClassName, getExceptionMappings, getInterceptors, getMethodName, getName, getPackageName, getParams, getResults, hashCode, isAllowedMethod, isStrictMethodInvocation, toString

    Methods inherited from class com.opensymphony.xwork2.util.location.Located

    getLocation, setLocation

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getPlugin

      public com.atlassian.plugin.Plugin getPlugin()
    • setPlugin

      public void setPlugin(com.atlassian.plugin.Plugin plugin)
    • build

      public static PluginAwareActionConfig build(String methodName, String className, String name, Map<String,String> parameters, Map<String,com.opensymphony.xwork2.config.entities.ResultConfig> results, List<com.opensymphony.xwork2.config.entities.InterceptorMapping> interceptors, List<? extends com.opensymphony.xwork2.config.entities.ExceptionMappingConfig> exceptionMappings, String packageName, List<String> allowedMethods)