Class PluginAwareInterceptorConfig
java.lang.Object
org.apache.struts2.util.location.Located
org.apache.struts2.config.entities.InterceptorConfig
com.atlassian.confluence.plugin.struts.PluginAwareInterceptorConfig
- All Implemented Interfaces:
Serializable
,org.apache.struts2.util.location.Locatable
public class PluginAwareInterceptorConfig
extends org.apache.struts2.config.entities.InterceptorConfig
InterceptorConfig that contains a reference to its originating plugin. This allows the corresponding factory to use
the appropriate class loader (OSGI) to access the classes of the plugin.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.struts2.config.entities.InterceptorConfig
org.apache.struts2.config.entities.InterceptorConfig.Builder
-
Field Summary
Fields inherited from class org.apache.struts2.config.entities.InterceptorConfig
className, name, params
Fields inherited from class org.apache.struts2.util.location.Located
location
-
Constructor Summary
ConstructorsConstructorDescriptionPluginAwareInterceptorConfig
(org.apache.struts2.config.entities.InterceptorConfig config, com.atlassian.plugin.Plugin plugin) -
Method Summary
Methods inherited from class org.apache.struts2.config.entities.InterceptorConfig
getClassName, getName, getParams, toString
Methods inherited from class org.apache.struts2.util.location.Located
getLocation, setLocation
-
Constructor Details
-
PluginAwareInterceptorConfig
public PluginAwareInterceptorConfig(org.apache.struts2.config.entities.InterceptorConfig config, com.atlassian.plugin.Plugin plugin)
-
-
Method Details
-
getPlugin
public com.atlassian.plugin.Plugin getPlugin() -
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.apache.struts2.config.entities.InterceptorConfig
-
equals
- Overrides:
equals
in classorg.apache.struts2.config.entities.InterceptorConfig
-