Interface FactoryBean<T>

    • Field Detail

    • Method Detail

      • getObject

        @AvoidAdvice
        T getObject()
             throws java.lang.Exception
        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.
        Returns:
        an instance of the bean (can be null)
        Throws:
        java.lang.Exception - in case of creation errors