Top Description Fields Constructors Methods
org.hibernate.sql.results.graph

public abstract Class AbstractFetchParentAccess

extends Object
implements FetchParentAccess
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.results.graph.FetchParentAccess, org.hibernate.sql.results.graph.Initializer
Known Direct Subclasses
org.hibernate.sql.results.graph.embeddable.AbstractEmbeddableInitializer, org.hibernate.sql.results.graph.embeddable.internal.AbstractNonAggregatedIdentifierMappingInitializer, org.hibernate.sql.results.graph.entity.AbstractEntityInitializer, org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer, org.hibernate.sql.results.graph.entity.internal.EntityDelayedFetchInitializer, org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
Imports
java.util.ArrayList, .List, java.util.function.Consumer

Base support for FetchParentAccess implementations. Mainly adds support for registering and managing resolution listeners

Field Summary

Modifier and TypeField and Description
private List<Consumer<Object>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
public void
registerResolutionListener(Consumer<Object> listener)

Implements org.hibernate.sql.results.graph.FetchParentAccess.registerResolutionListener.

Register a listener to be notified when the parent is "resolved"
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

listenersback to summary
private List<Consumer<Object>> listeners

Constructor Detail

AbstractFetchParentAccessback to summary
public AbstractFetchParentAccess()

Method Detail

clearResolutionListenersback to summary
protected void clearResolutionListeners()
notifyResolutionListenersback to summary
protected void notifyResolutionListeners(Object resolvedInstance)
registerResolutionListenerback to summary
public void registerResolutionListener(Consumer<Object> listener)

Implements org.hibernate.sql.results.graph.FetchParentAccess.registerResolutionListener.

Doc from org.hibernate.sql.results.graph.FetchParentAccess.registerResolutionListener.

Register a listener to be notified when the parent is "resolved"

Annotations
@Override