Package org.hibernate.event.spi
Interface LoadEventListener
- All Known Implementing Classes:
DefaultLoadEventListener
public interface LoadEventListener
Defines the contract for handling of load events generated from a session.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LoadEventListener.LoadType
static final LoadEventListener.LoadType
static final LoadEventListener.LoadType
static final LoadEventListener.LoadType
static final LoadEventListener.LoadType
static final LoadEventListener.LoadType
static final LoadEventListener.LoadType
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLoad
(LoadEvent event, LoadEventListener.LoadType loadType) Handle the given load event.
-
Field Details
-
RELOAD
-
GET
-
LOAD
-
IMMEDIATE_LOAD
-
INTERNAL_LOAD_EAGER
-
INTERNAL_LOAD_LAZY
-
INTERNAL_LOAD_NULLABLE
-
-
Method Details
-
onLoad
Handle the given load event.- Parameters:
event
- The load event to be handled.- Throws:
HibernateException
-