Package org.hibernate.testing.jdbc
Class SharedDriverManagerTypeCacheClearingIntegrator
- java.lang.Object
-
- org.hibernate.testing.jdbc.SharedDriverManagerTypeCacheClearingIntegrator
-
- All Implemented Interfaces:
Integrator
public class SharedDriverManagerTypeCacheClearingIntegrator extends Object implements Integrator
-
-
Constructor Summary
Constructors Constructor Description SharedDriverManagerTypeCacheClearingIntegrator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)Tongue-in-cheek name for a shutdown callback.voidintegrate(Metadata metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)Perform integration.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.integrator.spi.Integrator
integrate
-
-
-
-
Method Detail
-
integrate
public void integrate(Metadata metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Description copied from interface:IntegratorPerform integration.- Specified by:
integratein interfaceIntegrator- Parameters:
metadata- The "compiled" representation of the mapping informationsessionFactory- The session factory being createdserviceRegistry- The session factory's service registry
-
disintegrate
public void disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Description copied from interface:IntegratorTongue-in-cheek name for a shutdown callback.- Specified by:
disintegratein interfaceIntegrator- Parameters:
sessionFactory- The session factory being closed.serviceRegistry- That session factory's service registry
-
-