public interface

SessionFactoryObserver

implements Serializable
org.hibernate.SessionFactoryObserver

Class Overview

Allows reaction to basic SessionFactory occurrences.

Summary

Public Methods
abstract void sessionFactoryClosed(SessionFactory factory)
Callback to indicate that the given factory has been closed.
abstract void sessionFactoryCreated(SessionFactory factory)
Callback to indicate that the given factory has been created and is now ready for use.

Public Methods

public abstract void sessionFactoryClosed (SessionFactory factory)

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.

Parameters
factory The factory closed.

public abstract void sessionFactoryCreated (SessionFactory factory)

Callback to indicate that the given factory has been created and is now ready for use.

Parameters
factory The factory initialized.