Top Description Methods
org.hibernate

public Interface SessionFactoryObserver

extends Serializable
Imports
java.io.Serializable

Allows reaction to basic SessionFactory occurrences.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
sessionFactoryClosed(SessionFactory
The factory closed.
factory
)

Callback to indicate that the given factory has been closed.

public void
sessionFactoryCreated(SessionFactory
The factory initialized.
factory
)

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

Method Detail

sessionFactoryClosedback to summary
public 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:SessionFactory

The factory closed.

sessionFactoryCreatedback to summary
public void sessionFactoryCreated(SessionFactory factory)

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

Parameters
factory:SessionFactory

The factory initialized.