Indicate that the {@link BeanFactory} instance referred to by this object is notneeded any longer by the client code which obtained the {@link BeanFactoryReference}.
Depending on the actual implementation of {@link BeanFactoryLocator}, and the actual type of BeanFactory, this may possibly not actually do anything; alternately in the case of a 'closeable' BeanFactory or derived class (such as {@link org.springframework.context.ApplicationContext}) may 'close' it, or may 'close' it once no more references remain.
In an EJB usage scenario this would normally be called from ejbRemove() and ejbPassivate().
This is safe to call multiple times.
@throws FatalBeanException if the BeanFactory cannot be released
@see BeanFactoryLocator
@see org.springframework.context.access.ContextBeanFactoryReference
@see org.springframework.context.ConfigurableApplicationContext#close()