Class CurrentEnvironmentFactoryBean

    • Constructor Detail

      • CurrentEnvironmentFactoryBean

        public CurrentEnvironmentFactoryBean()
    • Method Detail

      • getObject

        public Environment getObject()
                              throws java.lang.Exception
        Description copied from interface: FactoryBean
        Return an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.
        Specified by:
        getObject in interface FactoryBean<Environment>
        Returns:
        an instance of the bean (can be null)
        Throws:
        java.lang.Exception - in case of creation errors