Class ServletContextListenerModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<javax.servlet.ServletContextListener>
com.atlassian.plugin.servlet.descriptors.ServletContextListenerModuleDescriptor
- All Implemented Interfaces:
ModuleDescriptor<javax.servlet.ServletContextListener>,Resourced,ScopeAware,StateAware
public class ServletContextListenerModuleDescriptor
extends AbstractModuleDescriptor<javax.servlet.ServletContextListener>
Provides a way for plugins to declare
ServletContextListeners so they can be notified when the
ServletContext is created for the plugin. Implementors need to extend this class and implement the
{#link autowireObject} method.- Since:
- 2.1.0
-
Field Summary
FieldsFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Field Details
-
log
protected static final org.slf4j.Logger log
-
-
Constructor Details
-
ServletContextListenerModuleDescriptor
- Since:
- 2.5.0
-
-
Method Details
-
init
- Specified by:
initin interfaceModuleDescriptor<javax.servlet.ServletContextListener>- Overrides:
initin classAbstractModuleDescriptor<javax.servlet.ServletContextListener>
-
getModule
public javax.servlet.ServletContextListener getModule()- Specified by:
getModulein interfaceModuleDescriptor<javax.servlet.ServletContextListener>- Specified by:
getModulein classAbstractModuleDescriptor<javax.servlet.ServletContextListener>
-