Interface Integrator

All Known Implementing Classes:
BeanValidationIntegrator

@JavaServiceLoadable public interface Integrator
Contract for extensions that integrate with Hibernate.

The best way to make an implementation of Integrator available to Hibernate is by making it discoverable via the standard Java ServiceLoader facility.

Since:
4.0
Implementation Note:
integrate(Metadata, Context, SessionFactoryImplementor) is called during the process of session factory initialization. In fact, it's called directly from the constructor of SessionFactoryImpl. So the passed session factory is not yet fully-initialized and is in a very fragile state.