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

    Constructors
    Constructor
    Description
    PluginAwareInterceptorConfig(org.apache.struts2.config.entities.InterceptorConfig config, com.atlassian.plugin.Plugin plugin)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.atlassian.plugin.Plugin
     
    int
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 class org.apache.struts2.config.entities.InterceptorConfig
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.apache.struts2.config.entities.InterceptorConfig