Package | Description |
---|---|
org.apache.openjpa.event |
OpenJPA Events
This package provides some interfaces and useful implementations
for OpenJPA's event notification framework.
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
Modifier and Type | Method and Description |
---|---|
void |
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 |
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 |
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 |
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 |
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 |
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 |
AbstractLifecycleListener.beforePersist(LifecycleEvent event) |
void |
PersistListener.beforePersist(LifecycleEvent event)
Invoked before an instance is persisted.
|
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–2022 Apache Software Foundation. All rights reserved.