public class SpringComponentModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor
implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
SpringComponentModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
void |
disabled() |
void |
enabled() |
Object |
getModule() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Support autowire of application context
|
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabled, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
public SpringComponentModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.plugin.PluginParseException
public Object getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
applicationContext
- org.springframework.beans.BeansException
Copyright © 2003–2015 Atlassian. All rights reserved.