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
Lifecycleinterface if necessary - Perform needed
EntityEntry.getLockMode()related processing
- Author:
- Gavin King, Steve Ebersole
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinjectCallbackRegistry(CallbackRegistry callbackRegistry) Injection of the CallbackRegistryprotected voidinvokeLoadLifecycle(PostLoadEvent event, EventSource session) voidonPostLoad(PostLoadEvent event)
-
Constructor Details
-
DefaultPostLoadEventListener
public DefaultPostLoadEventListener()
-
-
Method Details
-
injectCallbackRegistry
Description copied from interface:CallbackRegistryConsumerInjection of the CallbackRegistry- Specified by:
injectCallbackRegistryin interfaceCallbackRegistryConsumer- Parameters:
callbackRegistry- The CallbackRegistry
-
onPostLoad
- Specified by:
onPostLoadin interfacePostLoadEventListener
-
invokeLoadLifecycle
-