Package org.hibernate.bytecode.internal
Class SessionFactoryObserverForBytecodeEnhancer
java.lang.Object
org.hibernate.bytecode.internal.SessionFactoryObserverForBytecodeEnhancer
- All Implemented Interfaces:
Serializable
,SessionFactoryObserver
public final class SessionFactoryObserverForBytecodeEnhancer
extends Object
implements SessionFactoryObserver
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFactoryObserverForBytecodeEnhancer
(BytecodeProvider bytecodeProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 to close.void
sessionFactoryCreated
(SessionFactory factory) Callback to indicate that the given factory has been created and is now ready for use.
-
Constructor Details
-
SessionFactoryObserverForBytecodeEnhancer
-
-
Method Details
-
sessionFactoryCreated
Description copied from interface:SessionFactoryObserver
Callback to indicate that the given factory has been created and is now ready for use.- Specified by:
sessionFactoryCreated
in interfaceSessionFactoryObserver
- Parameters:
factory
- The factory initialized.
-
sessionFactoryClosing
Description copied from interface:SessionFactoryObserver
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.- Specified by:
sessionFactoryClosing
in interfaceSessionFactoryObserver
- Parameters:
factory
- The factory about to be closed.
-
sessionFactoryClosed
Description copied from interface:SessionFactoryObserver
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.- Specified by:
sessionFactoryClosed
in interfaceSessionFactoryObserver
- Parameters:
factory
- The factory closed.
-