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, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
public 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.ModuleDescriptor
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
public boolean isEnabled()
isEnabled
in interface com.atlassian.plugin.ModuleDescriptor
isEnabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
protected void loadInterceptors(com.opensymphony.xwork.config.entities.PackageConfig context, org.dom4j.Element element) throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationException
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 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.ConfigurationException
protected void loadInterceptorStacks(org.dom4j.Element element, com.opensymphony.xwork.config.entities.PackageConfig context) throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationException
protected void addAction(org.dom4j.Element actionElement, com.opensymphony.xwork.config.entities.PackageConfig packageContext) throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationException
protected List buildExternalRefs(org.dom4j.Element element, com.opensymphony.xwork.config.entities.PackageConfig context) throws com.opensymphony.xwork.config.ConfigurationException
com.opensymphony.xwork.config.ConfigurationException
protected void addResultTypes(com.opensymphony.xwork.config.entities.PackageConfig packageContext, org.dom4j.Element element)
public Object getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
protected 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.ConfigurationException
public static HashMap getParams(org.dom4j.Element paramsElement)
public void destroy()
destroy
in interface com.atlassian.plugin.ModuleDescriptor
destroy
in interface com.opensymphony.xwork.config.ConfigurationProvider
destroy
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
public void init(com.opensymphony.xwork.config.Configuration configuration) throws com.opensymphony.xwork.config.ConfigurationException
init
in interface com.opensymphony.xwork.config.ConfigurationProvider
com.opensymphony.xwork.config.ConfigurationException
public boolean needsReload()
needsReload
in interface com.opensymphony.xwork.config.ConfigurationProvider
Copyright © 2003–2016 Atlassian. All rights reserved.