Interface AutomaticIndexingMappingContext
public interface AutomaticIndexingMappingContext
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
sessionFactory
SessionFactoryImplementor sessionFactory()- Returns:
- The Hibernate ORM
SessionFactory
.
-
failureHandler
FailureHandler failureHandler()- Returns:
- A failure handler, to report indexing errors in background processes.
-
createIndexingQueueEventProcessingPlan
- Parameters:
session
- A Hibernate ORMSession
created from the samesessionFactory()
as this mapping.- Returns:
- An event processing plan for the given session.
It will not get executed automatically: you need to call
AutomaticIndexingQueueEventProcessingPlan.executeAndReport(OperationSubmitter)
, which is asynchronous and returns a future.
-
entityReferenceFactory
EntityReferenceFactory entityReferenceFactory()
-