public class XWorkModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor
implements com.opensymphony.xwork.config.ConfigurationProvider
ConfluenceActionSupport.| Constructor and Description |
|---|
XWorkModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.event.EventManager eventManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAction(org.dom4j.Element actionElement,
com.opensymphony.xwork.config.entities.PackageConfig packageContext) |
protected void |
addResultTypes(com.opensymphony.xwork.config.entities.PackageConfig packageContext,
org.dom4j.Element element) |
protected List |
buildExternalRefs(org.dom4j.Element element,
com.opensymphony.xwork.config.entities.PackageConfig context) |
protected List |
buildInterceptorList(org.dom4j.Element element,
com.opensymphony.xwork.config.entities.PackageConfig context) |
protected com.opensymphony.xwork.config.entities.PackageConfig |
buildPackageContext(org.dom4j.Element packageElement,
com.opensymphony.xwork.config.Configuration configuration) |
protected Map |
buildResults(org.dom4j.Element element,
com.opensymphony.xwork.config.entities.PackageConfig packageContext) |
void |
destroy() |
void |
disabled() |
void |
enabled() |
Object |
getModule() |
static HashMap |
getParams(org.dom4j.Element paramsElement) |
void |
init(com.opensymphony.xwork.config.Configuration configuration) |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isEnabled() |
protected void |
loadDefaultInterceptorRef(com.opensymphony.xwork.config.entities.PackageConfig packageContext,
org.dom4j.Element element) |
protected void |
loadGlobalResults(com.opensymphony.xwork.config.entities.PackageConfig packageContext,
org.dom4j.Element packageElement) |
protected void |
loadInterceptors(com.opensymphony.xwork.config.entities.PackageConfig context,
org.dom4j.Element element) |
protected com.opensymphony.xwork.config.entities.InterceptorStackConfig |
loadInterceptorStack(org.dom4j.Element element,
com.opensymphony.xwork.config.entities.PackageConfig context) |
protected void |
loadInterceptorStacks(org.dom4j.Element element,
com.opensymphony.xwork.config.entities.PackageConfig context) |
boolean |
needsReload() |
assertModuleClassImplements, checkPermissions, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringpublic XWorkModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.event.EventManager eventManager)
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.ModuleDescriptorinit in class com.atlassian.plugin.descriptors.AbstractModuleDescriptorcom.atlassian.plugin.PluginParseExceptionpublic void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptorpublic void disabled()
disabled in interface com.atlassian.plugin.StateAwaredisabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptorpublic boolean isEnabled()
isEnabled in interface com.atlassian.plugin.ModuleDescriptorisEnabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptorprotected void loadInterceptors(com.opensymphony.xwork.config.entities.PackageConfig context,
org.dom4j.Element element)
throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationExceptionprotected void loadDefaultInterceptorRef(com.opensymphony.xwork.config.entities.PackageConfig packageContext,
org.dom4j.Element element)
protected void loadGlobalResults(com.opensymphony.xwork.config.entities.PackageConfig packageContext,
org.dom4j.Element packageElement)
protected Map buildResults(org.dom4j.Element element, com.opensymphony.xwork.config.entities.PackageConfig packageContext)
protected com.opensymphony.xwork.config.entities.InterceptorStackConfig loadInterceptorStack(org.dom4j.Element element,
com.opensymphony.xwork.config.entities.PackageConfig context)
throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationExceptionprotected void loadInterceptorStacks(org.dom4j.Element element,
com.opensymphony.xwork.config.entities.PackageConfig context)
throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationExceptionprotected void addAction(org.dom4j.Element actionElement,
com.opensymphony.xwork.config.entities.PackageConfig packageContext)
throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationExceptionprotected List buildExternalRefs(org.dom4j.Element element, com.opensymphony.xwork.config.entities.PackageConfig context) throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationExceptionprotected void addResultTypes(com.opensymphony.xwork.config.entities.PackageConfig packageContext,
org.dom4j.Element element)
public Object getModule()
getModule in interface com.atlassian.plugin.ModuleDescriptorgetModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptorprotected com.opensymphony.xwork.config.entities.PackageConfig buildPackageContext(org.dom4j.Element packageElement,
com.opensymphony.xwork.config.Configuration configuration)
protected List buildInterceptorList(org.dom4j.Element element, com.opensymphony.xwork.config.entities.PackageConfig context) throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationExceptionpublic static HashMap getParams(org.dom4j.Element paramsElement)
public void destroy()
destroy in interface com.atlassian.plugin.ModuleDescriptordestroy in interface com.opensymphony.xwork.config.ConfigurationProviderdestroy in class com.atlassian.plugin.descriptors.AbstractModuleDescriptorpublic void init(com.opensymphony.xwork.config.Configuration configuration)
throws com.opensymphony.xwork.config.ConfigurationException
init in interface com.opensymphony.xwork.config.ConfigurationProvidercom.opensymphony.xwork.config.ConfigurationExceptionpublic boolean needsReload()
needsReload in interface com.opensymphony.xwork.config.ConfigurationProviderCopyright © 2003–2021 Atlassian. All rights reserved.