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