Package org.hibernate.event.internal
Class DefaultPostLoadEventListener
- java.lang.Object
-
- org.hibernate.event.internal.DefaultPostLoadEventListener
-
- All Implemented Interfaces:
PostLoadEventListener
,CallbackRegistryConsumer
public class DefaultPostLoadEventListener extends Object implements PostLoadEventListener, CallbackRegistryConsumer
We do two things here:- Call
Lifecycle
interface if necessary - Perform needed
EntityEntry.getLockMode()
related processing
-
-
Constructor Summary
Constructors Constructor Description DefaultPostLoadEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
injectCallbackRegistry(CallbackRegistry callbackRegistry)
Injection of the CallbackRegistryprotected void
invokeLoadLifecycle(PostLoadEvent event, EventSource session)
void
onPostLoad(PostLoadEvent event)
-
-
-
Method Detail
-
injectCallbackRegistry
public void injectCallbackRegistry(CallbackRegistry callbackRegistry)
Description copied from interface:CallbackRegistryConsumer
Injection of the CallbackRegistry- Specified by:
injectCallbackRegistry
in interfaceCallbackRegistryConsumer
- Parameters:
callbackRegistry
- The CallbackRegistry
-
onPostLoad
public void onPostLoad(PostLoadEvent event)
- Specified by:
onPostLoad
in interfacePostLoadEventListener
-
invokeLoadLifecycle
protected void invokeLoadLifecycle(PostLoadEvent event, EventSource session)
-
-