Uses of Class
org.apache.openjpa.event.LifecycleEvent
Package
Description
OpenJPA Events
OpenJPA Runtime Kernel
-
Uses of LifecycleEvent in org.apache.openjpa.event
Modifier and TypeMethodDescriptionvoid
AbstractLifecycleListener.afterAttach
(LifecycleEvent event) void
AttachListener.afterAttach
(LifecycleEvent event) Invoked after the instance has been attached.void
AbstractLifecycleListener.afterClear
(LifecycleEvent event) void
ClearListener.afterClear
(LifecycleEvent event) Invoked after state is cleared.void
AbstractLifecycleListener.afterDelete
(LifecycleEvent event) void
DeleteListener.afterDelete
(LifecycleEvent event) Invoked after the instance transferred to a deleted state.void
PostDeleteListener.afterDeletePerformed
(LifecycleEvent event) Receives notifications before an update is performed.void
AbstractLifecycleListener.afterDetach
(LifecycleEvent event) void
DetachListener.afterDetach
(LifecycleEvent event) Invoked after the instance has been detached.void
AbstractLifecycleListener.afterDirty
(LifecycleEvent event) void
DirtyListener.afterDirty
(LifecycleEvent event) Invoked after the first change is applied.void
AbstractLifecycleListener.afterDirtyFlushed
(LifecycleEvent event) void
DirtyListener.afterDirtyFlushed
(LifecycleEvent event) Invoked after the first change is applied to a flushed instance.void
AbstractLifecycleListener.afterLoad
(LifecycleEvent event) void
LoadListener.afterLoad
(LifecycleEvent event) Invoked after state has been loaded into the instance.void
AbstractLifecycleListener.afterPersist
(LifecycleEvent event) void
PersistListener.afterPersist
(LifecycleEvent event) Invoked when an instance is persisted.void
PostPersistListener.afterPersistPerformed
(LifecycleEvent event) Receives notifications after a persist operation has been written to the data store.void
AbstractLifecycleListener.afterRefresh
(LifecycleEvent event) void
LoadListener.afterRefresh
(LifecycleEvent event) Invoked after state has been refreshed.void
AbstractLifecycleListener.afterStore
(LifecycleEvent event) void
StoreListener.afterStore
(LifecycleEvent event) Invoked just after store.void
UpdateListener.afterUpdatePerformed
(LifecycleEvent event) Receives notifications before an update is performed.void
AbstractLifecycleListener.beforeAttach
(LifecycleEvent event) void
AttachListener.beforeAttach
(LifecycleEvent event) Invoked before the instance is attached.void
AbstractLifecycleListener.beforeClear
(LifecycleEvent event) void
ClearListener.beforeClear
(LifecycleEvent event) Invoked before state is cleared.void
AbstractLifecycleListener.beforeDelete
(LifecycleEvent event) void
DeleteListener.beforeDelete
(LifecycleEvent event) Invoked before the instance transferred to a deleted state.void
AbstractLifecycleListener.beforeDetach
(LifecycleEvent event) void
DetachListener.beforeDetach
(LifecycleEvent event) Invoked before the instance is detached.void
AbstractLifecycleListener.beforeDirty
(LifecycleEvent event) void
DirtyListener.beforeDirty
(LifecycleEvent event) Invoked before the first change is applied.void
AbstractLifecycleListener.beforeDirtyFlushed
(LifecycleEvent event) void
DirtyListener.beforeDirtyFlushed
(LifecycleEvent event) Invoked before the first change is applied to a flushed instance.void
AbstractLifecycleListener.beforePersist
(LifecycleEvent event) void
PersistListener.beforePersist
(LifecycleEvent event) Invoked before an instance is persisted.void
AbstractLifecycleListener.beforeStore
(LifecycleEvent event) void
StoreListener.beforeStore
(LifecycleEvent event) Invoked just prior to store.void
UpdateListener.beforeUpdate
(LifecycleEvent event) Receives notifications before an update is performed.protected void
AbstractLifecycleListener.eventOccurred
(LifecycleEvent event) Should be implemented to handle the specific lifecycle event. -
Uses of LifecycleEvent in org.apache.openjpa.kernel
Modifier and TypeMethodDescriptionprotected PersistenceCapable
AuditManager.getPersistenceCapable
(LifecycleEvent evt) Extracts the persistence capable instance from the source of the given event.