org.hibernate
Interface SessionFactoryObserver
- Serializable
public interface SessionFactoryObserver
extends Serializable
sessionFactoryClosed
public void sessionFactoryClosed(SessionFactory factory)
Callback to indicate that the given factory has been closed. Care should be taken
in how (if at all) the passed factory reference is used since it is closed.
factory
- The factory closed.
sessionFactoryCreated
public void sessionFactoryCreated(SessionFactory factory)
Callback to indicate that the given factory has been created and is now ready for use.
factory
- The factory initialized.