站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

DefaultRefreshEventListener (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.event.def
Class DefaultRefreshEventListener

java.lang.Object
  extended byorg.hibernate.event.def.DefaultRefreshEventListener
All Implemented Interfaces:
RefreshEventListener, Serializable

public class DefaultRefreshEventListener
extends Object
implements RefreshEventListener

Defines the default refresh event listener used by hibernate for refreshing entities in response to generated refresh events.

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
DefaultRefreshEventListener()
           
 
Method Summary
 void onRefresh(RefreshEvent event)
          Handle the given refresh event.
 void onRefresh(RefreshEvent event, Map refreshedAlready)
          Handle the given refresh event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRefreshEventListener

public DefaultRefreshEventListener()
Method Detail

onRefresh

public void onRefresh(RefreshEvent event)
               throws HibernateException
Description copied from interface: RefreshEventListener
Handle the given refresh event.

Specified by:
onRefresh in interface RefreshEventListener
Parameters:
event - The refresh event to be handled.
Throws:
HibernateException

onRefresh

public void onRefresh(RefreshEvent event,
                      Map refreshedAlready)
               throws HibernateException
Handle the given refresh event.

Specified by:
onRefresh in interface RefreshEventListener
Parameters:
event - The refresh event to be handled.
Throws:
HibernateException