public class XWorkModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void> implements com.atlassian.plugin.StateAware, com.opensymphony.xwork2.config.ConfigurationProvider
Constructor and Description |
---|
XWorkModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAction(org.dom4j.Element actionElement,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext) |
protected static void |
addResultTypes(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext,
org.dom4j.Element element) |
protected static List<String> |
buildAllowedMethodNames(org.dom4j.Element actionElement,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext) |
protected List<com.opensymphony.xwork2.config.entities.InterceptorMapping> |
buildInterceptorList(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder context) |
protected com.opensymphony.xwork2.config.entities.PackageConfig.Builder |
buildPackageContext(org.dom4j.Element packageElement,
com.opensymphony.xwork2.config.Configuration configuration) |
protected Map<String,com.opensymphony.xwork2.config.entities.ResultConfig> |
buildResults(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext) |
void |
destroy() |
void |
disabled() |
void |
enabled() |
Void |
getModule() |
static Map<String,String> |
getParams(org.dom4j.Element paramsElement) |
void |
init(com.opensymphony.xwork2.config.Configuration configuration) |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isEnabled() |
protected void |
loadDefaultInterceptorRef(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext,
org.dom4j.Element element) |
protected void |
loadGlobalResults(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext,
org.dom4j.Element packageElement) |
protected void |
loadInterceptors(com.opensymphony.xwork2.config.entities.PackageConfig.Builder context,
org.dom4j.Element element) |
protected com.opensymphony.xwork2.config.entities.InterceptorStackConfig |
loadInterceptorStack(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder context) |
protected void |
loadInterceptorStacks(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder context) |
void |
loadPackages() |
boolean |
needsReload() |
void |
register(com.opensymphony.xwork2.inject.ContainerBuilder builder,
com.opensymphony.xwork2.util.location.LocatableProperties props) |
void |
setConfigurationManager(com.opensymphony.xwork2.config.ConfigurationManager configurationManager) |
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, toString
public XWorkModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.event.api.EventPublisher eventPublisher)
public void setConfigurationManager(com.opensymphony.xwork2.config.ConfigurationManager configurationManager)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
public boolean isEnabled()
protected void loadInterceptors(com.opensymphony.xwork2.config.entities.PackageConfig.Builder context, org.dom4j.Element element) throws com.opensymphony.xwork2.config.ConfigurationException
com.opensymphony.xwork2.config.ConfigurationException
protected void loadDefaultInterceptorRef(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext, org.dom4j.Element element)
protected void loadGlobalResults(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext, org.dom4j.Element packageElement) throws ClassNotFoundException
ClassNotFoundException
protected Map<String,com.opensymphony.xwork2.config.entities.ResultConfig> buildResults(org.dom4j.Element element, com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext) throws ClassNotFoundException
ClassNotFoundException
protected com.opensymphony.xwork2.config.entities.InterceptorStackConfig loadInterceptorStack(org.dom4j.Element element, com.opensymphony.xwork2.config.entities.PackageConfig.Builder context) throws com.opensymphony.xwork2.config.ConfigurationException
com.opensymphony.xwork2.config.ConfigurationException
protected void loadInterceptorStacks(org.dom4j.Element element, com.opensymphony.xwork2.config.entities.PackageConfig.Builder context) throws com.opensymphony.xwork2.config.ConfigurationException
com.opensymphony.xwork2.config.ConfigurationException
protected void addAction(org.dom4j.Element actionElement, com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext) throws com.opensymphony.xwork2.config.ConfigurationException, ClassNotFoundException
com.opensymphony.xwork2.config.ConfigurationException
ClassNotFoundException
protected static void addResultTypes(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext, org.dom4j.Element element)
protected static List<String> buildAllowedMethodNames(org.dom4j.Element actionElement, com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext)
public Void getModule()
protected com.opensymphony.xwork2.config.entities.PackageConfig.Builder buildPackageContext(org.dom4j.Element packageElement, com.opensymphony.xwork2.config.Configuration configuration)
protected List<com.opensymphony.xwork2.config.entities.InterceptorMapping> buildInterceptorList(org.dom4j.Element element, com.opensymphony.xwork2.config.entities.PackageConfig.Builder context) throws com.opensymphony.xwork2.config.ConfigurationException
com.opensymphony.xwork2.config.ConfigurationException
public void destroy()
public void init(com.opensymphony.xwork2.config.Configuration configuration) throws com.opensymphony.xwork2.config.ConfigurationException
init
in interface com.opensymphony.xwork2.config.ContainerProvider
init
in interface com.opensymphony.xwork2.config.PackageProvider
com.opensymphony.xwork2.config.ConfigurationException
public boolean needsReload()
needsReload
in interface com.opensymphony.xwork2.config.ContainerProvider
needsReload
in interface com.opensymphony.xwork2.config.PackageProvider
public void loadPackages() throws com.opensymphony.xwork2.config.ConfigurationException
loadPackages
in interface com.opensymphony.xwork2.config.PackageProvider
com.opensymphony.xwork2.config.ConfigurationException
public void register(com.opensymphony.xwork2.inject.ContainerBuilder builder, com.opensymphony.xwork2.util.location.LocatableProperties props) throws com.opensymphony.xwork2.config.ConfigurationException
register
in interface com.opensymphony.xwork2.config.ContainerProvider
com.opensymphony.xwork2.config.ConfigurationException
Copyright © 2021 Atlassian. All rights reserved.
View cookie preferences