public class JpaIntegrator extends Object implements Integrator
Constructor and Description |
---|
JpaIntegrator() |
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.
|
public void integrate(Metadata metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
integrate
in interface Integrator
metadata
- The "compiled" representation of the mapping informationsessionFactory
- The session factory being createdserviceRegistry
- The session factory's service registrypublic void disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Integrator
disintegrate
in interface Integrator
sessionFactory
- The session factory being closed.serviceRegistry
- That session factory's service registryCopyright © 2017 JBoss by Red Hat. All rights reserved.