org.hibernate.event
Interface LoadEventListener
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- DefaultLoadEventListener
public interface LoadEventListener
- extends Serializable
Defines the contract for handling of load events generated from a session.
- Author:
- Steve Ebersole
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.
- Parameters:
event
- The load event to be handled.
- Throws:
HibernateException
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.