类 ContextBeanFactoryReference

  • 所有已实现的接口:
    BeanFactoryReference

    public class ContextBeanFactoryReference
    extends Object
    implements BeanFactoryReference
    ApplicationContext-specific implementation of BeanFactoryReference, wrapping a newly created ApplicationContext, closing it on release.

    As per BeanFactoryReference contract, release may be called more than once, with subsequent calls not doing anything. However, calling getFactory after a release call will cause an exception.

    从以下版本开始:
    13.02.2004
    作者:
    Juergen Hoeller, Colin Sampaleanu
    另请参阅:
    ConfigurableApplicationContext.close()