|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Integrator
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. For more information, see the following jiras:
Method Summary | |
---|---|
void |
disintegrate(SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry)
Tongue-in-cheek name for a shutdown callback. |
void |
integrate(Configuration configuration,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry)
Perform integration. |
void |
integrate(MetadataImplementor metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry)
Perform integration. |
Method Detail |
---|
void integrate(Configuration configuration, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
configuration
- The configuration used to create the session factorysessionFactory
- The session factory being createdserviceRegistry
- The session factory's service registryvoid integrate(MetadataImplementor metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
metadata
- The metadata used to create the session factorysessionFactory
- The session factory being createdserviceRegistry
- The session factory's service registryvoid disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
sessionFactory
- The session factory being closed.serviceRegistry
- That session factory's service registry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |