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)
SessionFactoryObserversessionFactoryCreated in interface SessionFactoryObserverfactory - The factory initialized.public void sessionFactoryClosing(SessionFactory factory)
SessionFactoryObserversessionFactoryClosing in interface SessionFactoryObserverfactory - The factory about to be closed.public void sessionFactoryClosed(SessionFactory factory)
SessionFactoryObserversessionFactoryClosed in interface SessionFactoryObserverfactory - The factory closed.Copyright © 2019 JBoss by Red Hat. All rights reserved.