org.apache.openjpa.persistence
Class PersistenceListenerAdapter
java.lang.Object
org.apache.openjpa.persistence.PersistenceListenerAdapter
- All Implemented Interfaces:
- DeleteListener, LifecycleEventManager.ListenerAdapter, LoadListener, PersistListener, PostDeleteListener, PostPersistListener, UpdateListener
class PersistenceListenerAdapter
- extends Object
- implements LifecycleEventManager.ListenerAdapter, PersistListener, PostPersistListener, LoadListener, UpdateListener, DeleteListener, PostDeleteListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceListenerAdapter
public PersistenceListenerAdapter(LifecycleCallbacks[][] callbacks)
PersistenceListenerAdapter
public PersistenceListenerAdapter(Collection<LifecycleCallbacks>[] calls)
respondsTo
public boolean respondsTo(int eventType)
- Specified by:
respondsTo in interface LifecycleEventManager.ListenerAdapter
beforePersist
public void beforePersist(LifecycleEvent event)
- Specified by:
beforePersist in interface PersistListener
afterPersist
public void afterPersist(LifecycleEvent event)
- Specified by:
afterPersist in interface PersistListener
afterPersistPerformed
public void afterPersistPerformed(LifecycleEvent event)
- Specified by:
afterPersistPerformed in interface PostPersistListener
afterLoad
public void afterLoad(LifecycleEvent event)
- Specified by:
afterLoad in interface LoadListener
afterRefresh
public void afterRefresh(LifecycleEvent event)
- Specified by:
afterRefresh in interface LoadListener
beforeUpdate
public void beforeUpdate(LifecycleEvent event)
- Specified by:
beforeUpdate in interface UpdateListener
afterUpdatePerformed
public void afterUpdatePerformed(LifecycleEvent event)
- Specified by:
afterUpdatePerformed in interface UpdateListener
beforeDelete
public void beforeDelete(LifecycleEvent event)
- Specified by:
beforeDelete in interface DeleteListener
afterDelete
public void afterDelete(LifecycleEvent event)
- Specified by:
afterDelete in interface DeleteListener
afterDeletePerformed
public void afterDeletePerformed(LifecycleEvent event)
- Specified by:
afterDeletePerformed in interface PostDeleteListener
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.