类 SessionFactoryObserverForBytecodeEnhancer
- java.lang.Object
-
- org.hibernate.bytecode.internal.SessionFactoryObserverForBytecodeEnhancer
-
- 所有已实现的接口:
Serializable,SessionFactoryObserver
public final class SessionFactoryObserverForBytecodeEnhancer extends Object implements SessionFactoryObserver
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 SessionFactoryObserverForBytecodeEnhancer(BytecodeProvider bytecodeProvider)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidsessionFactoryClosed(SessionFactory factory)Callback to indicate that the given factory has been closed.voidsessionFactoryClosing(SessionFactory factory)Callback to indicate that the given factory is about to close.voidsessionFactoryCreated(SessionFactory factory)Callback to indicate that the given factory has been created and is now ready for use.
-
-
-
构造器详细资料
-
SessionFactoryObserverForBytecodeEnhancer
public SessionFactoryObserverForBytecodeEnhancer(BytecodeProvider bytecodeProvider)
-
-
方法详细资料
-
sessionFactoryCreated
public void sessionFactoryCreated(SessionFactory factory)
从接口复制的说明:SessionFactoryObserverCallback to indicate that the given factory has been created and is now ready for use.- 指定者:
sessionFactoryCreated在接口中SessionFactoryObserver- 参数:
factory- The factory initialized.
-
sessionFactoryClosing
public void sessionFactoryClosing(SessionFactory factory)
从接口复制的说明:SessionFactoryObserverCallback 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.- 指定者:
sessionFactoryClosing在接口中SessionFactoryObserver- 参数:
factory- The factory about to be closed.
-
sessionFactoryClosed
public void sessionFactoryClosed(SessionFactory factory)
从接口复制的说明:SessionFactoryObserverCallback 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.- 指定者:
sessionFactoryClosed在接口中SessionFactoryObserver- 参数:
factory- The factory closed.
-
-