Class PluginAwareActionConfig
- java.lang.Object
-
- com.opensymphony.xwork.config.entities.ActionConfig
-
- com.atlassian.confluence.plugin.descriptor.PluginAwareActionConfig
-
- All Implemented Interfaces:
com.opensymphony.xwork.config.entities.InterceptorListHolder,com.opensymphony.xwork.config.entities.Parameterizable,Serializable
public class PluginAwareActionConfig extends com.opensymphony.xwork.config.entities.ActionConfigActionConfig 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginAwareActionConfig(String methodName, String className, Map parameters, Map results, List interceptors, com.atlassian.plugin.Plugin plugin)PluginAwareActionConfig(String methodName, String className, Map parameters, Map results, List interceptors, List externalRefs, String packageName, com.atlassian.plugin.Plugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodgetMethod()com.atlassian.plugin.PlugingetPlugin()-
Methods inherited from class com.opensymphony.xwork.config.entities.ActionConfig
addExternalRef, addExternalRefs, addInterceptor, addInterceptors, addParam, addResultConfig, equals, getClassName, getExternalRefs, getInterceptors, getMethodName, getPackageName, getParams, getResults, hashCode, setClassName, setMethodName, setPackageName, setParams, setResults, toString
-
-
-
-
Method Detail
-
getPlugin
public com.atlassian.plugin.Plugin getPlugin()
-
getMethod
public Method getMethod() throws NoSuchMethodException
- Overrides:
getMethodin classcom.opensymphony.xwork.config.entities.ActionConfig- Throws:
NoSuchMethodException
-
-