类 SessionFactoryObserverForBytecodeEnhancer

    • 构造器详细资料

      • SessionFactoryObserverForBytecodeEnhancer

        public SessionFactoryObserverForBytecodeEnhancer​(BytecodeProvider bytecodeProvider)
    • 方法详细资料

      • sessionFactoryClosing

        public void sessionFactoryClosing​(SessionFactory factory)
        从接口复制的说明: 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.

        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)
        从接口复制的说明: 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.
        指定者:
        sessionFactoryClosed 在接口中 SessionFactoryObserver
        参数:
        factory - The factory closed.