Class HibernateOrmMappingPartialBuildState
java.lang.Object
org.hibernate.search.mapper.orm.mapping.impl.HibernateOrmMappingPartialBuildState
- All Implemented Interfaces:
MappingPartialBuildState
public class HibernateOrmMappingPartialBuildState
extends Object
implements MappingPartialBuildState
-
Method Summary
Modifier and TypeMethodDescriptionbindToSessionFactory(MappingFinalizationContext context, SessionFactoryImplementor sessionFactory) voidClose the resources held by this object.
-
Method Details
-
bindToSessionFactory
public MappingImplementor<HibernateOrmMapping> bindToSessionFactory(MappingFinalizationContext context, SessionFactoryImplementor sessionFactory) -
closeOnFailure
public void closeOnFailure()Description copied from interface:MappingPartialBuildStateClose the resources held by this object.Called in the event of a failure that will prevent the mapping to be fully built.
- Specified by:
closeOnFailurein interfaceMappingPartialBuildState
-