Class SwitchableApplicationContextFactory

    • Field Detail

    • Constructor Detail

      • SwitchableApplicationContextFactory

        public SwitchableApplicationContextFactory()
    • Method Detail

      • setSourceBeanName

        public void setSourceBeanName​(java.lang.String sourceBeanName)
        Sets the default bean name of the source ApplicationContextFactory.
        Parameters:
        sourceBeanName - the bean name
      • getCurrentSourceBeanName

        public java.lang.String getCurrentSourceBeanName()
      • getApplicationContext

        public org.springframework.context.ApplicationContext getApplicationContext()
        Description copied from interface: ApplicationContextFactory
        Gets the application context, configured according to the properties of the factory.
        Specified by:
        getApplicationContext in interface ApplicationContextFactory
        Returns:
        the application context