org.hibernate.spatial.integration
Class SpatialIntegrator

java.lang.Object
  extended by org.hibernate.spatial.integration.SpatialIntegrator
All Implemented Interfaces:
org.hibernate.integrator.spi.Integrator, org.hibernate.integrator.spi.ServiceContributingIntegrator

public class SpatialIntegrator
extends java.lang.Object
implements org.hibernate.integrator.spi.ServiceContributingIntegrator


Constructor Summary
SpatialIntegrator()
           
 
Method Summary
 void disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
          Tongue-in-cheek name for a shutdown callback.
 void integrate(org.hibernate.cfg.Configuration configuration, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
          Perform integration.
 void integrate(org.hibernate.metamodel.source.MetadataImplementor metadata, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
          Perform integration.
 void prepareServices(org.hibernate.service.ServiceRegistryBuilder serviceRegistryBuilder)
          Allow the integrator to alter the builder of ServiceRegistry, presumably to register services into it.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialIntegrator

public SpatialIntegrator()
Method Detail

integrate

public void integrate(org.hibernate.cfg.Configuration configuration,
                      org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
                      org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
Description copied from interface: org.hibernate.integrator.spi.Integrator
Perform integration.

Specified by:
integrate in interface org.hibernate.integrator.spi.Integrator
Parameters:
configuration - The configuration used to create the session factory
sessionFactory - The session factory being created
serviceRegistry - The session factory's service registry

integrate

public void integrate(org.hibernate.metamodel.source.MetadataImplementor metadata,
                      org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
                      org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
Description copied from interface: org.hibernate.integrator.spi.Integrator
Perform integration.

Specified by:
integrate in interface org.hibernate.integrator.spi.Integrator
Parameters:
metadata - The metadata used to create the session factory
sessionFactory - The session factory being created
serviceRegistry - The session factory's service registry

disintegrate

public void disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
                         org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
Description copied from interface: org.hibernate.integrator.spi.Integrator
Tongue-in-cheek name for a shutdown callback.

Specified by:
disintegrate in interface org.hibernate.integrator.spi.Integrator
Parameters:
sessionFactory - The session factory being closed.
serviceRegistry - That session factory's service registry

prepareServices

public void prepareServices(org.hibernate.service.ServiceRegistryBuilder serviceRegistryBuilder)
Description copied from interface: org.hibernate.integrator.spi.ServiceContributingIntegrator
Allow the integrator to alter the builder of ServiceRegistry, presumably to register services into it.

Specified by:
prepareServices in interface org.hibernate.integrator.spi.ServiceContributingIntegrator
Parameters:
serviceRegistryBuilder - The build to prepare.