SessionFactory occurrences.
| Modifier and Type | Method and Description |
|---|---|
| public default void | sessionFactoryClosed(SessionFactory
The factory closed. factory)
Deprecated
as a consequence of
Callback to indicate that the given factory has been closed.
SessionFactory being deprecated.
|
| public default void | sessionFactoryClosing(SessionFactory
The factory about to be closed. factory)
Deprecated
as a consequence of
Callback to indicate that the given factory is about to close.
SessionFactory being deprecated.
|
| public default void | sessionFactoryCreated(SessionFactory
The factory initialized. factory)
Deprecated
as a consequence of
Callback to indicate that the given factory has been created and is now ready for use.
SessionFactory being deprecated.
|
| sessionFactoryClosed | back to summary |
|---|---|
| public default void sessionFactoryClosed(SessionFactory factory)
Deprecated as a consequence of Callback to indicate that the given factory has been closed. Care should be taken in how (if at all) the passed factory reference is used since it is closed.
| |
| sessionFactoryClosing | back to summary |
|---|---|
| public default void sessionFactoryClosing(SessionFactory factory)
Deprecated as a consequence of Callback to indicate that the given factory is about to close. The passed factory reference should be usable since it is only about to close. NOTE : defined as default to allow for existing SessionFactoryObserver impls to work in 5.2. Starting in 6.0 the default will be removed and SessionFactoryObserver impls will be required to implement this new method.
| |
| sessionFactoryCreated | back to summary |
|---|---|
| public default void sessionFactoryCreated(SessionFactory factory)
Deprecated as a consequence of Callback to indicate that the given factory has been created and is now ready for use.
| |