org.hibernate.event
Class RefreshEvent

java.lang.Object
  extended by org.hibernate.event.AbstractEvent
      extended by org.hibernate.event.RefreshEvent
All Implemented Interfaces:
Serializable

public class RefreshEvent
extends AbstractEvent

Defines an event class for the refreshing of an object.

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
RefreshEvent(Object object, EventSource source)
           
RefreshEvent(Object object, LockMode lockMode, EventSource source)
           
RefreshEvent(Object object, LockOptions lockOptions, EventSource source)
           
 
Method Summary
 LockMode getLockMode()
           
 LockOptions getLockOptions()
           
 boolean getLockScope()
           
 int getLockTimeout()
           
 Object getObject()
           
 
Methods inherited from class org.hibernate.event.AbstractEvent
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefreshEvent

public RefreshEvent(Object object,
                    EventSource source)

RefreshEvent

public RefreshEvent(Object object,
                    LockMode lockMode,
                    EventSource source)

RefreshEvent

public RefreshEvent(Object object,
                    LockOptions lockOptions,
                    EventSource source)
Method Detail

getObject

public Object getObject()

getLockOptions

public LockOptions getLockOptions()

getLockMode

public LockMode getLockMode()

getLockTimeout

public int getLockTimeout()

getLockScope

public boolean getLockScope()


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.