public interface BeanFactoryReference
BeanFactoryobtained through a
It is safe to call
release() multiple times, but
getFactory() must not be called after calling release.
|Modifier and Type||Method and Description|
Indicate that the
BeanFactoryinstance held by this reference.
IllegalStateException- if invoked after
release()has been called
BeanFactoryinstance referred to by this object is not needed any longer by the client code which obtained the
Depending on the actual implementation of
the actual type of
BeanFactory, this may possibly not actually
do anything; alternately in the case of a 'closeable'
or derived class (such as
may 'close' it, or may 'close' it once no more references remain.
In an EJB usage scenario this would normally be called from
This is safe to call multiple times.