Save This Page
Home » hibernate-entity-src-20081106 » org.hibernate » ejb » event » [javadoc | source]
org.hibernate.ejb.event
public class: EJB3PersistEventListener [javadoc | source]
java.lang.Object
   org.hibernate.event.def.DefaultPersistEventListener
      org.hibernate.ejb.event.EJB3PersistEventListener

All Implemented Interfaces:
    CallbackHandlerConsumer

Direct Known Subclasses:
    EJB3PersistOnFlushEventListener

Overrides the LifeCycle OnSave call to call the PrePersist operation
Constructor:
 public EJB3PersistEventListener() 
 public EJB3PersistEventListener(EntityCallbackHandler callbackHandler) 
Method from org.hibernate.ejb.event.EJB3PersistEventListener Summary:
getCascadeAction,   saveWithGeneratedId,   saveWithRequestedId,   setCallbackHandler
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.ejb.event.EJB3PersistEventListener Detail:
 protected CascadingAction getCascadeAction() 
 protected Serializable saveWithGeneratedId(Object entity,
    String entityName,
    Object anything,
    EventSource source,
    boolean requiresImmediateIdAccess) 
 protected Serializable saveWithRequestedId(Object entity,
    Serializable requestedId,
    String entityName,
    Object anything,
    EventSource source) 
 public  void setCallbackHandler(EntityCallbackHandler callbackHandler)