Package org.hibernate.sql.results.graph
Class AbstractFetchParentAccess
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParentAccess
-
- All Implemented Interfaces:
FetchParentAccess
,Initializer
- Direct Known Subclasses:
AbstractBatchEntitySelectFetchInitializer
,AbstractEmbeddableInitializer
,AbstractEntityInitializer
,EntityDelayedFetchInitializer
,EntitySelectFetchInitializer
public abstract class AbstractFetchParentAccess extends Object implements FetchParentAccess
Base support for FetchParentAccess implementations. Mainly adds support for registering and managing resolution listeners
-
-
Constructor Summary
Constructors Constructor Description AbstractFetchParentAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearResolutionListeners()
protected void
notifyResolutionListeners(Object resolvedInstance)
void
registerResolutionListener(Consumer<Object> listener)
Register a listener to be notified when the parent is "resolved"-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParentAccess
findFirstEntityDescriptorAccess, findFirstEntityInitializer, getNavigablePath, getParentKey
-
Methods inherited from interface org.hibernate.sql.results.graph.Initializer
asEntityInitializer, endLoading, finishUpRow, getInitializedInstance, getInitializedPart, initializeInstance, isAttributeAssignableToConcreteDescriptor, isCollectionInitializer, isEmbeddableInitializer, isEntityInitializer, resolveInstance, resolveKey
-
-
-
-
Method Detail
-
registerResolutionListener
public void registerResolutionListener(Consumer<Object> listener)
Description copied from interface:FetchParentAccess
Register a listener to be notified when the parent is "resolved"- Specified by:
registerResolutionListener
in interfaceFetchParentAccess
-
clearResolutionListeners
protected void clearResolutionListeners()
-
notifyResolutionListeners
protected void notifyResolutionListeners(Object resolvedInstance)
-
-