public class JaccIntegrator extends Object implements ServiceContributingIntegrator
Constructor and Description |
---|
JaccIntegrator() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
prepareServices(StandardServiceRegistryBuilder serviceRegistryBuilder)
Allow the integrator to alter the builder of
ServiceRegistry , presumably to
register services into it. |
public void prepareServices(StandardServiceRegistryBuilder serviceRegistryBuilder)
ServiceContributingIntegrator
ServiceRegistry
, presumably to
register services into it.prepareServices
in interface ServiceContributingIntegrator
serviceRegistryBuilder
- The build to prepare.public void integrate(Configuration configuration, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Integrator
integrate
in interface Integrator
configuration
- The configuration used to create the session factorysessionFactory
- The session factory being createdserviceRegistry
- The session factory's service registrypublic void integrate(MetadataImplementor metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Integrator
integrate
in interface Integrator
metadata
- The metadata used to create the session factorysessionFactory
- 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 © 2001-2015 Red Hat, Inc. All Rights Reserved.