Interface AsyncFactoryBean<T>

    • Method Detail

      • getObject

        Future<T> getObject()
        Obtain a bean asynchronously.
        Specified by:
        getObject in interface FactoryBean<T>
        Returns:
        a future that completes when the bean is ready
      • isInitialized

        boolean isInitialized()
        Indicate if this bean has been initialized or if its initialization is pending.

        This is only meaningful if FactoryBean.isSingleton() is true as otherwise a new, yet to be initialized bean will be returned everytime and this method will always return false.