Package org.hibernate.event.spi
Interface LoadEventListener
-
- All Superinterfaces:
java.io.Serializable
public interface LoadEventListener extends java.io.Serializable
Defines the contract for handling of load events generated from a session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LoadEventListener.LoadType
-
Field Summary
Fields Modifier and Type Field Description static LoadEventListener.LoadType
GET
static LoadEventListener.LoadType
IMMEDIATE_LOAD
static LoadEventListener.LoadType
INTERNAL_LOAD_EAGER
static LoadEventListener.LoadType
INTERNAL_LOAD_LAZY
static LoadEventListener.LoadType
INTERNAL_LOAD_NULLABLE
static LoadEventListener.LoadType
LOAD
static LoadEventListener.LoadType
RELOAD
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onLoad(LoadEvent event, LoadEventListener.LoadType loadType)
Handle the given load event.
-
-
-
Field Detail
-
RELOAD
static final LoadEventListener.LoadType RELOAD
-
GET
static final LoadEventListener.LoadType GET
-
LOAD
static final LoadEventListener.LoadType LOAD
-
IMMEDIATE_LOAD
static final LoadEventListener.LoadType IMMEDIATE_LOAD
-
INTERNAL_LOAD_EAGER
static final LoadEventListener.LoadType INTERNAL_LOAD_EAGER
-
INTERNAL_LOAD_LAZY
static final LoadEventListener.LoadType INTERNAL_LOAD_LAZY
-
INTERNAL_LOAD_NULLABLE
static final LoadEventListener.LoadType INTERNAL_LOAD_NULLABLE
-
-
Method Detail
-
onLoad
void onLoad(LoadEvent event, LoadEventListener.LoadType loadType) throws HibernateException
Handle the given load event.- Parameters:
event
- The load event to be handled.- Throws:
HibernateException
-
-