Package com.atlassian.bamboo.spring
Class BambooSpringContainerContext
- java.lang.Object
-
- com.atlassian.spring.container.SpringContainerContext
-
- com.atlassian.bamboo.spring.BambooSpringContainerContext
-
- All Implemented Interfaces:
com.atlassian.spring.container.ContainerContext
public class BambooSpringContainerContext extends com.atlassian.spring.container.SpringContainerContextSpringContainerContextwraps the passed bean factory. Unfortunately, this is not a full delegation/copy and some of the settings from the original bean factory are lost. This class overrides the methods that interact with the bean factory and reroutes the calls to the original factory.
-
-
Constructor Summary
Constructors Constructor Description BambooSpringContainerContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidautowireComponent(Object bean)ObjectcreateCompleteComponent(Class clazz)ObjectcreateComponent(Class clazz)voidsetApplicationContext(org.springframework.context.ApplicationContext appContext)
-
-
-
Method Detail
-
createComponent
public Object createComponent(Class clazz)
- Specified by:
createComponentin interfacecom.atlassian.spring.container.ContainerContext- Overrides:
createComponentin classcom.atlassian.spring.container.SpringContainerContext
-
createCompleteComponent
public Object createCompleteComponent(Class clazz)
- Specified by:
createCompleteComponentin interfacecom.atlassian.spring.container.ContainerContext- Overrides:
createCompleteComponentin classcom.atlassian.spring.container.SpringContainerContext
-
autowireComponent
public void autowireComponent(Object bean)
- Specified by:
autowireComponentin interfacecom.atlassian.spring.container.ContainerContext- Overrides:
autowireComponentin classcom.atlassian.spring.container.SpringContainerContext
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext appContext) throws org.springframework.context.ApplicationContextException- Overrides:
setApplicationContextin classcom.atlassian.spring.container.SpringContainerContext- Throws:
org.springframework.context.ApplicationContextException
-
-