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,AbstractNonAggregatedIdentifierMappingInitializer,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 voidclearResolutionListeners()protected voidnotifyResolutionListeners(Object resolvedInstance)voidregisterResolutionListener(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, getFetchParentAccess, getNavigablePath, getParentKey
-
Methods inherited from interface org.hibernate.sql.results.graph.Initializer
asEmbeddableInitializer, 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:FetchParentAccessRegister a listener to be notified when the parent is "resolved"- Specified by:
registerResolutionListenerin interfaceFetchParentAccess
-
clearResolutionListeners
protected void clearResolutionListeners()
-
notifyResolutionListeners
protected void notifyResolutionListeners(Object resolvedInstance)
-
-