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, toStringpublic 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.StateAwareenabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>public void disabled()
disabled in interface com.atlassian.plugin.StateAwaredisabled 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.ConfigurationExceptionprotected 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
ClassNotFoundExceptionprotected Map<String,com.opensymphony.xwork2.config.entities.ResultConfig> buildResults(org.dom4j.Element element, com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext) throws ClassNotFoundException
ClassNotFoundExceptionprotected 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.ConfigurationExceptionprotected void loadInterceptorStacks(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder context)
throws com.opensymphony.xwork2.config.ConfigurationException
com.opensymphony.xwork2.config.ConfigurationExceptionprotected 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.ConfigurationExceptionClassNotFoundExceptionprotected 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.ConfigurationExceptionpublic void destroy()
public void init(com.opensymphony.xwork2.config.Configuration configuration)
throws com.opensymphony.xwork2.config.ConfigurationException
init in interface com.opensymphony.xwork2.config.ContainerProviderinit in interface com.opensymphony.xwork2.config.PackageProvidercom.opensymphony.xwork2.config.ConfigurationExceptionpublic boolean needsReload()
needsReload in interface com.opensymphony.xwork2.config.ContainerProviderneedsReload in interface com.opensymphony.xwork2.config.PackageProviderpublic void loadPackages()
throws com.opensymphony.xwork2.config.ConfigurationException
loadPackages in interface com.opensymphony.xwork2.config.PackageProvidercom.opensymphony.xwork2.config.ConfigurationExceptionpublic 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.ContainerProvidercom.opensymphony.xwork2.config.ConfigurationExceptionCopyright © 2023 Atlassian. All rights reserved.