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 |
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 sessionFactoryClosed(SessionFactory factory)
SessionFactoryObserver
sessionFactoryClosed
in interface SessionFactoryObserver
factory
- The factory closed.Copyright © 2016 JBoss by Red Hat. All rights reserved.