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 -
Method Summary
Modifier and TypeMethodDescriptionvoidautowireComponent(Object bean) createCompleteComponent(Class clazz) createComponent(Class clazz) voidsetApplicationContext(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:
createComponentin interfacecom.atlassian.spring.container.ContainerContext- Overrides:
createComponentin classcom.atlassian.spring.container.SpringContainerContext
-
createCompleteComponent
- Specified by:
createCompleteComponentin interfacecom.atlassian.spring.container.ContainerContext- Overrides:
createCompleteComponentin classcom.atlassian.spring.container.SpringContainerContext
-
autowireComponent
- 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
-