public class SessionFactoryObserverChain extends Object implements SessionFactoryObserver
Constructor and Description |
---|
SessionFactoryObserverChain() |
Modifier and Type | Method and Description |
---|---|
void |
addObserver(SessionFactoryObserver observer) |
void |
sessionFactoryClosed(SessionFactory factory)
Callback to indicate that the given factory has been closed.
|
void |
sessionFactoryClosing(SessionFactory factory)
Callback to indicate that the given factory is about close.
|
void |
sessionFactoryCreated(SessionFactory factory)
Callback to indicate that the given factory has been created and is now ready for use.
|
public void addObserver(SessionFactoryObserver observer)
public void sessionFactoryCreated(SessionFactory factory)
SessionFactoryObserver
sessionFactoryCreated
in interface SessionFactoryObserver
factory
- The factory initialized.public void sessionFactoryClosing(SessionFactory factory)
SessionFactoryObserver
sessionFactoryClosing
in interface SessionFactoryObserver
factory
- The factory about to be closed.public void sessionFactoryClosed(SessionFactory factory)
SessionFactoryObserver
sessionFactoryClosed
in interface SessionFactoryObserver
factory
- The factory closed.Copyright © 2019 JBoss by Red Hat. All rights reserved.