public interface LoadEventListener extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
LoadEventListener.LoadType |
Modifier and Type | Field and 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 |
Modifier and Type | Method and Description |
---|---|
void |
onLoad(LoadEvent event,
LoadEventListener.LoadType loadType)
Handle the given load event.
|
static final LoadEventListener.LoadType RELOAD
static final LoadEventListener.LoadType GET
static final LoadEventListener.LoadType LOAD
static final LoadEventListener.LoadType IMMEDIATE_LOAD
static final LoadEventListener.LoadType INTERNAL_LOAD_EAGER
static final LoadEventListener.LoadType INTERNAL_LOAD_LAZY
static final LoadEventListener.LoadType INTERNAL_LOAD_NULLABLE
void onLoad(LoadEvent event, LoadEventListener.LoadType loadType) throws HibernateException
event
- The load event to be handled.HibernateException
Copyright © 2021 JBoss by Red Hat. All rights reserved.