com.atlassian.bamboo.plugin.xwork
Class XWorkModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<java.lang.Void>
com.atlassian.bamboo.plugin.xwork.XWorkModuleDescriptor
- All Implemented Interfaces:
- com.atlassian.plugin.ModuleDescriptor<java.lang.Void>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, com.opensymphony.xwork2.config.ConfigurationProvider, com.opensymphony.xwork2.config.ContainerProvider, com.opensymphony.xwork2.config.PackageProvider
public class XWorkModuleDescriptor
- extends AbstractBambooModuleDescriptor<java.lang.Void>
- implements com.opensymphony.xwork2.config.ConfigurationProvider
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
Method Summary |
protected void |
addResultTypes(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext,
org.dom4j.Element element)
|
protected void |
buildExternalRefs(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder context)
|
protected java.util.List |
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 java.util.Map |
buildResults(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext)
|
void |
destroy()
|
java.lang.Void |
getModule()
|
static java.util.HashMap |
getParams(org.dom4j.Element paramsElement)
|
void |
init(com.opensymphony.xwork2.config.Configuration configuration)
|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
|
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 containerBuilder,
com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties)
|
void |
setObjectFactory(com.opensymphony.xwork2.ObjectFactory objectFactory)
|
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, checkPermissions, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
XWorkModuleDescriptor
public XWorkModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
init
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
- Throws:
com.atlassian.plugin.PluginParseException
getModule
public java.lang.Void getModule()
- Specified by:
getModule
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getModule
in class AbstractBambooModuleDescriptor<java.lang.Void>
destroy
public void destroy()
- Specified by:
destroy
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Specified by:
destroy
in interface com.opensymphony.xwork2.config.ContainerProvider
- Overrides:
destroy
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
init
public void init(com.opensymphony.xwork2.config.Configuration configuration)
throws com.opensymphony.xwork2.config.ConfigurationException
- Specified by:
init
in interface com.opensymphony.xwork2.config.ContainerProvider
- Specified by:
init
in interface com.opensymphony.xwork2.config.PackageProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
register
public void register(com.opensymphony.xwork2.inject.ContainerBuilder containerBuilder,
com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties)
throws com.opensymphony.xwork2.config.ConfigurationException
- Specified by:
register
in interface com.opensymphony.xwork2.config.ContainerProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
loadPackages
public void loadPackages()
throws com.opensymphony.xwork2.config.ConfigurationException
- Specified by:
loadPackages
in interface com.opensymphony.xwork2.config.PackageProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
needsReload
public boolean needsReload()
- Specified by:
needsReload
in interface com.opensymphony.xwork2.config.ContainerProvider
- Specified by:
needsReload
in interface com.opensymphony.xwork2.config.PackageProvider
loadInterceptors
protected void loadInterceptors(com.opensymphony.xwork2.config.entities.PackageConfig.Builder context,
org.dom4j.Element element)
throws com.opensymphony.xwork2.config.ConfigurationException
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
loadDefaultInterceptorRef
protected void loadDefaultInterceptorRef(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext,
org.dom4j.Element element)
loadGlobalResults
protected void loadGlobalResults(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext,
org.dom4j.Element packageElement)
buildResults
protected java.util.Map buildResults(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext)
loadInterceptorStack
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
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
loadInterceptorStacks
protected void loadInterceptorStacks(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder context)
throws com.opensymphony.xwork2.config.ConfigurationException
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
buildExternalRefs
protected void buildExternalRefs(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder context)
throws com.opensymphony.xwork2.config.ConfigurationException
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
addResultTypes
protected void addResultTypes(com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext,
org.dom4j.Element element)
buildPackageContext
protected com.opensymphony.xwork2.config.entities.PackageConfig.Builder buildPackageContext(org.dom4j.Element packageElement,
com.opensymphony.xwork2.config.Configuration configuration)
buildInterceptorList
protected java.util.List buildInterceptorList(org.dom4j.Element element,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder context)
throws com.opensymphony.xwork2.config.ConfigurationException
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
getParams
public static java.util.HashMap getParams(org.dom4j.Element paramsElement)
setObjectFactory
public void setObjectFactory(com.opensymphony.xwork2.ObjectFactory objectFactory)
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.