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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
autowireComponent
(Object bean) createCompleteComponent
(Class clazz) createComponent
(Class clazz) void
setApplicationContext
(org.springframework.context.ApplicationContext appContext) Methods inherited from class com.atlassian.spring.container.SpringContainerContext
contextReloaded, getApplicationContext, getComponent, getServletContext, isSetup, publishEvent, refresh, setServletContext
-
Constructor Details
-
BambooSpringContainerContext
public BambooSpringContainerContext()
-
-
Method Details
-
createComponent
- Specified by:
createComponent
in interfacecom.atlassian.spring.container.ContainerContext
- Overrides:
createComponent
in classcom.atlassian.spring.container.SpringContainerContext
-
createCompleteComponent
- Specified by:
createCompleteComponent
in interfacecom.atlassian.spring.container.ContainerContext
- Overrides:
createCompleteComponent
in classcom.atlassian.spring.container.SpringContainerContext
-
autowireComponent
- 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
-