接口 LoadEventListener
-
- 所有超级接口:
Serializable
- 所有已知实现类:
DefaultLoadEventListener
public interface LoadEventListener extends Serializable
Defines the contract for handling of load events generated from a session.- 作者:
- Steve Ebersole
-
-
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static classLoadEventListener.LoadType
-
字段概要
字段 修饰符和类型 字段 说明 static LoadEventListener.LoadTypeGETstatic LoadEventListener.LoadTypeIMMEDIATE_LOADstatic LoadEventListener.LoadTypeINTERNAL_LOAD_EAGERstatic LoadEventListener.LoadTypeINTERNAL_LOAD_LAZYstatic LoadEventListener.LoadTypeINTERNAL_LOAD_NULLABLEstatic LoadEventListener.LoadTypeLOADstatic LoadEventListener.LoadTypeRELOAD
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidonLoad(LoadEvent event, LoadEventListener.LoadType loadType)Handle the given load event.
-
-
-
字段详细资料
-
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
-
-
方法详细资料
-
onLoad
void onLoad(LoadEvent event, LoadEventListener.LoadType loadType) throws HibernateException
Handle the given load event.- 参数:
event- The load event to be handled.- 抛出:
HibernateException
-
-