|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T> com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<java.lang.Object> com.atlassian.bamboo.plugin.descriptor.SpringComponentModuleDescriptor
public class SpringComponentModuleDescriptor
This module descriptor is responsible for injecting plugins1 components into the host Bamboo container. Plugins2 components live in OSGi and are handled by the
com.atlassian.plugin.osgi.factory.descriptor.ComponentModuleDescriptor
in the plugins framework.
Field Summary |
---|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton |
Constructor Summary | |
---|---|
SpringComponentModuleDescriptor()
|
|
SpringComponentModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
|
Method Summary | |
---|---|
void |
enabled()
|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
|
protected boolean |
isMutable()
Whether modules of this descriptor are supposed to be mutated by external components. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor |
---|
disabled, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, postInit, preInit |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
assertModuleClassImplements, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, 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 |
Constructor Detail |
---|
public SpringComponentModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public SpringComponentModuleDescriptor()
Method Detail |
---|
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Object>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Object>
com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Object>
protected boolean isMutable()
AbstractBambooModuleDescriptor
true
, which means a fresh module instance will be created each time AbstractBambooModuleDescriptor.getModule()
is called.
Subclasses that are safe to cache a singleton instance of module throughout the life span of this descriptor
can override this method and return false
.
isMutable
in class AbstractBambooModuleDescriptor<java.lang.Object>
true
if modules of this descriptor are mutablepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |