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.SpringContainerContext
SpringContainerContext
wraps 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 void
autowireComponent(Object bean)
Object
createCompleteComponent(Class clazz)
Object
createComponent(Class clazz)
void
setApplicationContext(org.springframework.context.ApplicationContext appContext)
-
-
-
Method Detail
-
createComponent
public Object createComponent(Class clazz)
- Specified by:
createComponent
in interfacecom.atlassian.spring.container.ContainerContext
- Overrides:
createComponent
in classcom.atlassian.spring.container.SpringContainerContext
-
createCompleteComponent
public Object createCompleteComponent(Class clazz)
- Specified by:
createCompleteComponent
in interfacecom.atlassian.spring.container.ContainerContext
- Overrides:
createCompleteComponent
in classcom.atlassian.spring.container.SpringContainerContext
-
autowireComponent
public void autowireComponent(Object bean)
- Specified by:
autowireComponent
in interfacecom.atlassian.spring.container.ContainerContext
- Overrides:
autowireComponent
in classcom.atlassian.spring.container.SpringContainerContext
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext appContext) throws org.springframework.context.ApplicationContextException
- Overrides:
setApplicationContext
in classcom.atlassian.spring.container.SpringContainerContext
- Throws:
org.springframework.context.ApplicationContextException
-
-