org.hibernate.ejb.event
Class EJB3DeleteEventListener
java.lang.Object
org.hibernate.event.def.DefaultDeleteEventListener
org.hibernate.ejb.event.EJB3DeleteEventListener
- All Implemented Interfaces:
- Serializable, CallbackHandlerConsumer, org.hibernate.event.DeleteEventListener
public class EJB3DeleteEventListener
- extends org.hibernate.event.def.DefaultDeleteEventListener
- implements CallbackHandlerConsumer
Overrides the LifeCycle OnSave call to call the PreRemove operation
- Author:
- Emmanuel Bernard
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.event.def.DefaultDeleteEventListener |
cascadeAfterDelete, cascadeBeforeDelete, deleteEntity, onDelete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJB3DeleteEventListener
public EJB3DeleteEventListener()
EJB3DeleteEventListener
public EJB3DeleteEventListener(EntityCallbackHandler callbackHandler)
setCallbackHandler
public void setCallbackHandler(EntityCallbackHandler callbackHandler)
- Specified by:
setCallbackHandler
in interface CallbackHandlerConsumer
invokeDeleteLifecycle
protected boolean invokeDeleteLifecycle(org.hibernate.event.EventSource session,
Object entity,
org.hibernate.persister.entity.EntityPersister persister)
- Overrides:
invokeDeleteLifecycle
in class org.hibernate.event.def.DefaultDeleteEventListener