public interface SessionFactoryObserver extends Serializable
SessionFactory
occurrences.Modifier and Type | Method and Description |
---|---|
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.
|
void sessionFactoryCreated(SessionFactory factory)
factory
- The factory initialized.void sessionFactoryClosed(SessionFactory factory)
factory
- The factory closed.Copyright © 2017 JBoss by Red Hat. All rights reserved.