Interface PojoImplicitReindexingResolverRootContext
- All Superinterfaces:
ContainerExtractionContext
The context passed to a
PojoImplicitReindexingResolver
and propagated to every PojoImplicitReindexingResolverNode.
This includes telling whether changes require the changed entity to be reindexed, but also retrieving all entities that use the changed entity in their indexed form so that they can be reindexed by Hibernate Search.
-
Method Summary
Modifier and TypeMethodDescriptiondetectContainingEntityType(Object containingEntity) booleanvoidPropagates (rethrows) aRuntimeExceptionthrown while accessing a property (getter or field access), or ignores it so that the property is skipped.Methods inherited from interface org.hibernate.search.mapper.pojo.extractor.ContainerExtractionContext
propagateOrIgnoreContainerExtractionException
-
Method Details
-
sessionContext
PojoImplicitReindexingResolverSessionContext sessionContext()- Returns:
- The context for the current session.
-
isDirtyForReindexingResolution
- Parameters:
filter- A path filter for dirty paths.- Returns:
- Whether the root is dirty according to the given filter.
-
detectContainingEntityType
-
propagateOrIgnorePropertyAccessException
Propagates (rethrows) aRuntimeExceptionthrown while accessing a property (getter or field access), or ignores it so that the property is skipped.- Parameters:
exception- ARuntimeExceptionthrown while accessing a property.- See Also:
-