com.atlassian.confluence.plugin.descriptor
Class ComponentModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.confluence.plugin.descriptor.ComponentModuleDescriptor
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, ModuleDescriptor, Resourced, StateAware
- public class ComponentModuleDescriptor
- extends AbstractModuleDescriptor
- implements StateAware, org.springframework.context.ApplicationContextAware
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin, toString |
ComponentModuleDescriptor
public ComponentModuleDescriptor()
init
public void init(Plugin plugin,
org.dom4j.Element element)
throws PluginParseException
- Specified by:
init
in interface ModuleDescriptor
- Throws:
PluginParseException
getModule
public Object getModule()
- Specified by:
getModule
in interface ModuleDescriptor
enabled
public void enabled()
- Specified by:
enabled
in interface StateAware
disabled
public void disabled()
- Specified by:
disabled
in interface StateAware
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Support autowire of application context
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Parameters:
applicationContext
-
- Throws:
org.springframework.beans.BeansException