Class SessionFactoryObserverForBytecodeEnhancer

    • Constructor Detail

      • SessionFactoryObserverForBytecodeEnhancer

        public SessionFactoryObserverForBytecodeEnhancer​(BytecodeProvider bytecodeProvider)
    • Method Detail

      • sessionFactoryClosing

        public void sessionFactoryClosing​(SessionFactory factory)
        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.

        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.

        Specified by:
        sessionFactoryClosing in interface SessionFactoryObserver
        Parameters:
        factory - The factory about to be closed.
      • sessionFactoryClosed

        public void sessionFactoryClosed​(SessionFactory factory)
        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 interface SessionFactoryObserver
        Parameters:
        factory - The factory closed.