Home » Spring-Framework-090522 » org.springframework » context » access » [javadoc | source]
org.springframework.context.access
public class: ContextBeanFactoryReference [javadoc | source]
java.lang.Object
   org.springframework.context.access.ContextBeanFactoryReference

All Implemented Interfaces:
    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.

Constructor:
 public ContextBeanFactoryReference(ApplicationContext applicationContext) 
    Create a new ContextBeanFactoryReference for the given context.
    Parameters:
    applicationContext - the ApplicationContext to wrap
Method from org.springframework.context.access.ContextBeanFactoryReference Summary:
getFactory,   release
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.context.access.ContextBeanFactoryReference Detail:
 public BeanFactory getFactory() 
 public  void release()