com.atlassian.confluence.plugin.descriptor
Class ComponentModuleDescriptor

java.lang.Object
  extended bycom.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended bycom.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


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
plugin, resources, singleton
 
Constructor Summary
ComponentModuleDescriptor()
           
 
Method Summary
 void disabled()
           
 void enabled()
           
 Object getModule()
           
 void init(Plugin plugin, org.dom4j.Element element)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
          Support autowire of application context
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentModuleDescriptor

public ComponentModuleDescriptor()
Method Detail

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


Confluence is developed by Atlassian.