|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.plugin.servlet.descriptors.BaseServletModuleDescriptor<javax.servlet.http.HttpServlet>
com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor
public class ServletModuleDescriptor
A module descriptor that allows plugin developers to define servlets. Developers can define what urls the servlet should be serve by defining one or more <url-pattern> elements.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.plugin.servlet.descriptors.BaseServletModuleDescriptor |
|---|
log |
| Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
moduleClassName, moduleFactory, plugin, resources, singleton |
| Constructor Summary | |
|---|---|
ServletModuleDescriptor(ModuleFactory moduleFactory,
ServletModuleManager servletModuleManager)
Creates a descriptor that uses a module factory to create instances |
|
| Method Summary | |
|---|---|
void |
disabled()
Disables the module descriptor. |
void |
enabled()
Enables the descriptor by loading the module class. |
javax.servlet.http.HttpServlet |
getModule()
The particular module object created by this plugin. |
javax.servlet.http.HttpServlet |
getServlet()
Deprecated. Since 2.0.0, use getModule() |
| Methods inherited from class com.atlassian.plugin.servlet.descriptors.BaseServletModuleDescriptor |
|---|
getInitParams, getPaths, init, provideValidationRules |
| 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, loadClass, loadClass, satisfiesMinJavaVersion, setPlugin, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServletModuleDescriptor(ModuleFactory moduleFactory,
ServletModuleManager servletModuleManager)
moduleFactory - | Method Detail |
|---|
public void enabled()
AbstractModuleDescriptor
enabled in interface StateAwareenabled in class AbstractModuleDescriptor<javax.servlet.http.HttpServlet>public void disabled()
AbstractModuleDescriptor
disabled in interface StateAwaredisabled in class AbstractModuleDescriptor<javax.servlet.http.HttpServlet>public javax.servlet.http.HttpServlet getModule()
ModuleDescriptor
getModule in interface ModuleDescriptor<javax.servlet.http.HttpServlet>getModule in class AbstractModuleDescriptor<javax.servlet.http.HttpServlet>ModuleDescriptor.getModuleClass()@Deprecated public javax.servlet.http.HttpServlet getServlet()
getModule()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||