org.hibernate.ejb.event
Class EJB3FlushEventListener

java.lang.Object
  extended by org.hibernate.event.def.AbstractFlushingEventListener
      extended by org.hibernate.event.def.DefaultFlushEventListener
          extended by org.hibernate.ejb.event.EJB3FlushEventListener
All Implemented Interfaces:
Serializable, FlushEventListener

public class EJB3FlushEventListener
extends DefaultFlushEventListener

In EJB3, it is the create operation that is cascaded to unmanaged ebtities at flush time (instead of the save-update operation in Hibernate).

Author:
Gavin King
See Also:
Serialized Form

Field Summary
static FlushEventListener INSTANCE
           
 
Constructor Summary
EJB3FlushEventListener()
           
 
Method Summary
protected  Object getAnything()
           
protected  CascadingAction getCascadingAction()
           
 
Methods inherited from class org.hibernate.event.def.DefaultFlushEventListener
onFlush
 
Methods inherited from class org.hibernate.event.def.AbstractFlushingEventListener
flushEverythingToExecutions, performExecutions, postFlush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final FlushEventListener INSTANCE
Constructor Detail

EJB3FlushEventListener

public EJB3FlushEventListener()
Method Detail

getCascadingAction

protected CascadingAction getCascadingAction()
Overrides:
getCascadingAction in class AbstractFlushingEventListener

getAnything

protected Object getAnything()
Overrides:
getAnything in class AbstractFlushingEventListener


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