public class

SpringComponentModuleDescriptor

extends AbstractBambooModuleDescriptor<T>
implements BeanFactoryAware
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<T>
       ↳ com.atlassian.bamboo.plugin.descriptor.SpringComponentModuleDescriptor

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
SpringComponentModuleDescriptor(ModuleFactory moduleFactory)
SpringComponentModuleDescriptor()
Public Methods
void enabled()
void init(Plugin plugin, Element element)
void setBeanFactory(BeanFactory beanFactory)
Protected Methods
boolean isMutable()
Whether modules of this descriptor are supposed to be mutated by external components.
[Expand]
Inherited Methods
From class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From class java.lang.Object
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.StateAware
From interface org.springframework.beans.factory.BeanFactoryAware

Public Constructors

public SpringComponentModuleDescriptor (ModuleFactory moduleFactory)

public SpringComponentModuleDescriptor ()

Public Methods

public void enabled ()

public void init (Plugin plugin, Element element)

Throws
PluginParseException

public void setBeanFactory (BeanFactory beanFactory)

Throws
BeansException

Protected Methods

protected boolean isMutable ()

Whether modules of this descriptor are supposed to be mutated by external components. By default this returns true, which means a fresh module instance will be created each time 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.
Returns
  • true if modules of this descriptor are mutable