Top Description Methods
org.hibernate.integrator.spi

public Interface Integrator

Known Direct Subinterfaces
org.hibernate.integrator.spi.ServiceContributingIntegrator
Known Direct Implementers
org.hibernate.cache.internal.CollectionCacheInvalidator, org.hibernate.cfg.beanvalidation.BeanValidationIntegrator
Imports
org.hibernate.boot.Metadata, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry

Contract for stuff that integrates with Hibernate.

IMPL NOTE: called during session factory initialization (constructor), so not all parts of the passed session factory will be available.

Author
Steve Ebersole
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public void
disintegrate(SessionFactoryImplementor
The session factory being closed.
sessionFactory
,
SessionFactoryServiceRegistry
That session factory's service registry
serviceRegistry
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Tongue-in-cheek name for a shutdown callback.
public void
integrate(Metadata
The "compiled" representation of the mapping information
metadata
,
SessionFactoryImplementor
The session factory being created
sessionFactory
,
SessionFactoryServiceRegistry
The session factory's service registry
serviceRegistry
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Perform integration.

Method Detail

disintegrateback to summary
public void disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Tongue-in-cheek name for a shutdown callback.

Parameters
sessionFactory:SessionFactoryImplementor

The session factory being closed.

serviceRegistry:SessionFactoryServiceRegistry

That session factory's service registry

integrateback to summary
public void integrate(Metadata metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Perform integration.

Parameters
metadata:Metadata

The "compiled" representation of the mapping information

sessionFactory:SessionFactoryImplementor

The session factory being created

serviceRegistry:SessionFactoryServiceRegistry

The session factory's service registry