public interface Integrator
Contract for stuff that integrates with Hibernate. <p/> IMPL NOTE: called during session factory initialization (constructor), so not all parts of the passed session factory will be available.
| Modifier and Type | Method and Description |
|---|---|
void |
disintegrate(SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry)
Tongue-in-cheek name for a shutdown callback.
|
void |
integrate(Metadata metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry)
Perform integration.
|
void integrate(Metadata metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Perform integration.
metadata - The "compiled" representation of the mapping informationsessionFactory - The session factory being createdserviceRegistry - The session factory’s service registryvoid disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Tongue-in-cheek name for a shutdown callback.
sessionFactory - The session factory being closed.serviceRegistry - That session factory’s service registryCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.