Class XWorkModuleDescriptor
- java.lang.Object
-
- com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
-
- com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<Void>
-
- com.atlassian.bamboo.plugin.xwork.XWorkModuleDescriptor
-
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<Void>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
,com.opensymphony.xwork2.config.ConfigurationProvider
,com.opensymphony.xwork2.config.ContainerProvider
,com.opensymphony.xwork2.config.PackageProvider
public class XWorkModuleDescriptor extends AbstractBambooModuleDescriptor<Void> implements com.opensymphony.xwork2.config.ConfigurationProvider
-
-
Constructor Summary
Constructors Constructor Description XWorkModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
Void
getModule()
void
init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element moduleElement)
void
init(com.opensymphony.xwork2.config.Configuration configuration)
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.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, isMutable, postInit, preInit
-
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate
-
-
-
-
Method Detail
-
init
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element moduleElement) throws com.atlassian.plugin.PluginParseException
-
getModule
public Void getModule()
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<Void>
- Overrides:
getModule
in classAbstractBambooModuleDescriptor<Void>
-
destroy
public void destroy()
-
init
public void init(com.opensymphony.xwork2.config.Configuration configuration) throws com.opensymphony.xwork2.config.ConfigurationException
- Specified by:
init
in interfacecom.opensymphony.xwork2.config.ContainerProvider
- Specified by:
init
in interfacecom.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 interfacecom.opensymphony.xwork2.config.ContainerProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
loadPackages
public void loadPackages() throws com.opensymphony.xwork2.config.ConfigurationException
- Specified by:
loadPackages
in interfacecom.opensymphony.xwork2.config.PackageProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
needsReload
public boolean needsReload()
- Specified by:
needsReload
in interfacecom.opensymphony.xwork2.config.ContainerProvider
- Specified by:
needsReload
in interfacecom.opensymphony.xwork2.config.PackageProvider
-
setObjectFactory
public void setObjectFactory(com.opensymphony.xwork2.ObjectFactory objectFactory)
-
-