Uses of Class
org.apache.openjpa.event.LifecycleEvent
Packages that use LifecycleEvent
Package
Description
OpenJPA Events
OpenJPA Runtime Kernel
-
Uses of LifecycleEvent in org.apache.openjpa.event
Methods in org.apache.openjpa.event with parameters of type LifecycleEventModifier and TypeMethodDescriptionvoidAbstractLifecycleListener.afterAttach(LifecycleEvent event) voidAttachListener.afterAttach(LifecycleEvent event) Invoked after the instance has been attached.voidAbstractLifecycleListener.afterClear(LifecycleEvent event) voidClearListener.afterClear(LifecycleEvent event) Invoked after state is cleared.voidAbstractLifecycleListener.afterDelete(LifecycleEvent event) voidDeleteListener.afterDelete(LifecycleEvent event) Invoked after the instance transferred to a deleted state.voidPostDeleteListener.afterDeletePerformed(LifecycleEvent event) Receives notifications before an update is performed.voidAbstractLifecycleListener.afterDetach(LifecycleEvent event) voidDetachListener.afterDetach(LifecycleEvent event) Invoked after the instance has been detached.voidAbstractLifecycleListener.afterDirty(LifecycleEvent event) voidDirtyListener.afterDirty(LifecycleEvent event) Invoked after the first change is applied.voidAbstractLifecycleListener.afterDirtyFlushed(LifecycleEvent event) voidDirtyListener.afterDirtyFlushed(LifecycleEvent event) Invoked after the first change is applied to a flushed instance.voidAbstractLifecycleListener.afterLoad(LifecycleEvent event) voidLoadListener.afterLoad(LifecycleEvent event) Invoked after state has been loaded into the instance.voidAbstractLifecycleListener.afterPersist(LifecycleEvent event) voidPersistListener.afterPersist(LifecycleEvent event) Invoked when an instance is persisted.voidPostPersistListener.afterPersistPerformed(LifecycleEvent event) Receives notifications after a persist operation has been written to the data store.voidAbstractLifecycleListener.afterRefresh(LifecycleEvent event) voidLoadListener.afterRefresh(LifecycleEvent event) Invoked after state has been refreshed.voidAbstractLifecycleListener.afterStore(LifecycleEvent event) voidStoreListener.afterStore(LifecycleEvent event) Invoked just after store.voidUpdateListener.afterUpdatePerformed(LifecycleEvent event) Receives notifications before an update is performed.voidAbstractLifecycleListener.beforeAttach(LifecycleEvent event) voidAttachListener.beforeAttach(LifecycleEvent event) Invoked before the instance is attached.voidAbstractLifecycleListener.beforeClear(LifecycleEvent event) voidClearListener.beforeClear(LifecycleEvent event) Invoked before state is cleared.voidAbstractLifecycleListener.beforeDelete(LifecycleEvent event) voidDeleteListener.beforeDelete(LifecycleEvent event) Invoked before the instance transferred to a deleted state.voidAbstractLifecycleListener.beforeDetach(LifecycleEvent event) voidDetachListener.beforeDetach(LifecycleEvent event) Invoked before the instance is detached.voidAbstractLifecycleListener.beforeDirty(LifecycleEvent event) voidDirtyListener.beforeDirty(LifecycleEvent event) Invoked before the first change is applied.voidAbstractLifecycleListener.beforeDirtyFlushed(LifecycleEvent event) voidDirtyListener.beforeDirtyFlushed(LifecycleEvent event) Invoked before the first change is applied to a flushed instance.voidAbstractLifecycleListener.beforePersist(LifecycleEvent event) voidPersistListener.beforePersist(LifecycleEvent event) Invoked before an instance is persisted.voidAbstractLifecycleListener.beforeStore(LifecycleEvent event) voidStoreListener.beforeStore(LifecycleEvent event) Invoked just prior to store.voidUpdateListener.beforeUpdate(LifecycleEvent event) Receives notifications before an update is performed.protected voidAbstractLifecycleListener.eventOccurred(LifecycleEvent event) Should be implemented to handle the specific lifecycle event. -
Uses of LifecycleEvent in org.apache.openjpa.kernel
Methods in org.apache.openjpa.kernel with parameters of type LifecycleEventModifier and TypeMethodDescriptionprotected PersistenceCapableAuditManager.getPersistenceCapable(LifecycleEvent evt) Extracts the persistence capable instance from the source of the given event.