org.hibernate.internal
Class SessionFactoryObserverChain
java.lang.Object
org.hibernate.internal.SessionFactoryObserverChain
- All Implemented Interfaces:
- Serializable, SessionFactoryObserver
public class SessionFactoryObserverChain
- extends Object
- implements SessionFactoryObserver
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionFactoryObserverChain
public SessionFactoryObserverChain()
addObserver
public void addObserver(SessionFactoryObserver observer)
sessionFactoryCreated
public void sessionFactoryCreated(SessionFactory factory)
- Description copied from interface:
SessionFactoryObserver
- Callback to indicate that the given factory has been created and is now ready for use.
- Specified by:
sessionFactoryCreated
in interface SessionFactoryObserver
- Parameters:
factory
- The factory initialized.
sessionFactoryClosed
public void sessionFactoryClosed(SessionFactory factory)
- Description copied from interface:
SessionFactoryObserver
- 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.
- Specified by:
sessionFactoryClosed
in interface SessionFactoryObserver
- Parameters:
factory
- The factory closed.
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.