|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.plugin.descriptors.servlet.ServletModuleDescriptor
public abstract class ServletModuleDescriptor
| Field Summary |
|---|
| Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
plugin, resources, singleton |
| Constructor Summary | |
|---|---|
ServletModuleDescriptor()
|
|
| Method Summary | |
|---|---|
protected abstract void |
autowireObject(java.lang.Object obj)
Autowire an object. |
void |
disabled()
Called by the plugin manager when the module is deactivated. |
void |
enabled()
Called by the plugin manager when the module is activated. |
java.util.Map |
getInitParams()
|
java.lang.Object |
getModule()
The particular module object created by this plugin. |
java.util.List |
getPaths()
|
javax.servlet.http.HttpServlet |
getServlet()
|
protected abstract ServletModuleManager |
getServletModuleManager()
Retrieve the ServletModuleManager class from your container framework. |
void |
init(Plugin plugin,
org.dom4j.Element element)
Initialise a module given it's parent plugin and the XML element representing the module. |
| Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
assertModuleClassImplements, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServletModuleDescriptor()
| Method Detail |
|---|
public void init(Plugin plugin,
org.dom4j.Element element)
throws PluginParseException
ModuleDescriptor
init in interface ModuleDescriptorinit in class AbstractModuleDescriptorPluginParseExceptionpublic void enabled()
StateAware
enabled in interface StateAwarepublic void disabled()
StateAware
disabled in interface StateAwarepublic java.lang.Object getModule()
ModuleDescriptor
getModule in interface ModuleDescriptorgetModule in class AbstractModuleDescriptorpublic javax.servlet.http.HttpServlet getServlet()
public java.util.List getPaths()
public java.util.Map getInitParams()
protected abstract void autowireObject(java.lang.Object obj)
protected abstract ServletModuleManager getServletModuleManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||