Package | Description |
---|---|
org.apache.openjpa.event |
OpenJPA Events
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
|
Modifier and Type | Method and Description |
---|---|
void |
AttachListener.afterAttach(LifecycleEvent event)
Invoked after the instance has been attached.
|
void |
AbstractLifecycleListener.afterAttach(LifecycleEvent event) |
void |
ClearListener.afterClear(LifecycleEvent event)
Invoked after state is cleared.
|
void |
AbstractLifecycleListener.afterClear(LifecycleEvent event) |
void |
DeleteListener.afterDelete(LifecycleEvent event)
Invoked after the instance transferred to a deleted state.
|
void |
AbstractLifecycleListener.afterDelete(LifecycleEvent event) |
void |
PostDeleteListener.afterDeletePerformed(LifecycleEvent event)
Receives notifications before an update is performed.
|
void |
DetachListener.afterDetach(LifecycleEvent event)
Invoked after the instance has been detached.
|
void |
AbstractLifecycleListener.afterDetach(LifecycleEvent event) |
void |
DirtyListener.afterDirty(LifecycleEvent event)
Invoked after the first change is applied.
|
void |
AbstractLifecycleListener.afterDirty(LifecycleEvent event) |
void |
DirtyListener.afterDirtyFlushed(LifecycleEvent event)
Invoked after the first change is applied to a flushed instance.
|
void |
AbstractLifecycleListener.afterDirtyFlushed(LifecycleEvent event) |
void |
LoadListener.afterLoad(LifecycleEvent event)
Invoked after state has been loaded into the instance.
|
void |
AbstractLifecycleListener.afterLoad(LifecycleEvent event) |
void |
PersistListener.afterPersist(LifecycleEvent event)
Invoked when an instance is persisted.
|
void |
AbstractLifecycleListener.afterPersist(LifecycleEvent event) |
void |
PostPersistListener.afterPersistPerformed(LifecycleEvent event)
Receives notifications after a persist operation has been written to the
data store.
|
void |
LoadListener.afterRefresh(LifecycleEvent event)
Invoked after state has been refreshed.
|
void |
AbstractLifecycleListener.afterRefresh(LifecycleEvent event) |
void |
StoreListener.afterStore(LifecycleEvent event)
Invoked just after store.
|
void |
AbstractLifecycleListener.afterStore(LifecycleEvent event) |
void |
UpdateListener.afterUpdatePerformed(LifecycleEvent event)
Receives notifications before an update is performed.
|
void |
AttachListener.beforeAttach(LifecycleEvent event)
Invoked before the instance is attached.
|
void |
AbstractLifecycleListener.beforeAttach(LifecycleEvent event) |
void |
ClearListener.beforeClear(LifecycleEvent event)
Invoked before state is cleared.
|
void |
AbstractLifecycleListener.beforeClear(LifecycleEvent event) |
void |
DeleteListener.beforeDelete(LifecycleEvent event)
Invoked before the instance transferred to a deleted state.
|
void |
AbstractLifecycleListener.beforeDelete(LifecycleEvent event) |
void |
DetachListener.beforeDetach(LifecycleEvent event)
Invoked before the instance is detached.
|
void |
AbstractLifecycleListener.beforeDetach(LifecycleEvent event) |
void |
DirtyListener.beforeDirty(LifecycleEvent event)
Invoked before the first change is applied.
|
void |
AbstractLifecycleListener.beforeDirty(LifecycleEvent event) |
void |
DirtyListener.beforeDirtyFlushed(LifecycleEvent event)
Invoked before the first change is applied to a flushed instance.
|
void |
AbstractLifecycleListener.beforeDirtyFlushed(LifecycleEvent event) |
void |
PersistListener.beforePersist(LifecycleEvent event)
Invoked before an instance is persisted.
|
void |
AbstractLifecycleListener.beforePersist(LifecycleEvent event) |
void |
StoreListener.beforeStore(LifecycleEvent event)
Invoked just prior to store.
|
void |
AbstractLifecycleListener.beforeStore(LifecycleEvent event) |
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.
|
Modifier and Type | Method and Description |
---|---|
protected PersistenceCapable |
AuditManager.getPersistenceCapable(LifecycleEvent evt)
Extracts the persistence capable instance from the source of the given event.
|
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.