Class 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 Detail

      • BambooSpringContainerContext

        public BambooSpringContainerContext()
    • Method Detail

      • createComponent

        public Object createComponent​(Class clazz)
        Specified by:
        createComponent in interface com.atlassian.spring.container.ContainerContext
        Overrides:
        createComponent in class com.atlassian.spring.container.SpringContainerContext
      • createCompleteComponent

        public Object createCompleteComponent​(Class clazz)
        Specified by:
        createCompleteComponent in interface com.atlassian.spring.container.ContainerContext
        Overrides:
        createCompleteComponent in class com.atlassian.spring.container.SpringContainerContext
      • autowireComponent

        public void autowireComponent​(Object bean)
        Specified by:
        autowireComponent in interface com.atlassian.spring.container.ContainerContext
        Overrides:
        autowireComponent in class com.atlassian.spring.container.SpringContainerContext
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext appContext)
                                   throws org.springframework.context.ApplicationContextException
        Overrides:
        setApplicationContext in class com.atlassian.spring.container.SpringContainerContext
        Throws:
        org.springframework.context.ApplicationContextException