See: Description
Interface | Description |
---|---|
AttachCallback |
This interface is used to notify instances of attach events.
|
AttachLifecycleListener |
This interface is implemented by listeners to be notified of
attach events.
|
ClearCallback |
This interface is used to notify instances of clear events.
|
ClearLifecycleListener |
This interface is implemented by listeners to be notified of
clear events.
|
CreateLifecycleListener |
This interface is implemented by listeners to be notified of
create events.
|
DeleteCallback |
This interface is used to notify instances of delete events.
|
DeleteLifecycleListener |
This interface is implemented by listeners to be notified of
delete events.
|
DetachCallback |
This interface is used to notify instances of detach events.
|
DetachLifecycleListener |
This interface is implemented by listeners to be notified of
detach events.
|
DirtyLifecycleListener |
This interface is implemented by listeners to be notified of
dirty events.
|
InstanceLifecycleListener |
All lifecycle listeners extend from this base interface.
|
LoadCallback |
This interface is used to notify instances of load events.
|
LoadLifecycleListener |
This interface is implemented by listeners to be notified of
load events.
|
StoreCallback |
This interface is used to notify instances of store events.
|
StoreLifecycleListener |
This interface is implemented by listeners to be notified of
store events.
|
Class | Description |
---|---|
InstanceLifecycleEvent |
This is the event class used in life cycle event notifications.
|
There are two kinds of interfaces defined to allow an application to manage life cycle changes to persistent objects.
The first kind is defined
on the persistent domain class itself. This allows methods in the domain class
to be called during life cycle events. The domain class implements one or more
of the interfaces
AttachCallback
,
ClearCallback
,
DeleteCallback
,
DetachCallback
,
LoadCallback
, or
StoreCallback
.
The methods in the interfaces
are called during life cycle events.
The second kind is defined on an external class using the listener pattern.
Instances of classes that implement one or more of the listener interfaces
AttachLifecycleListener
,
ClearLifecycleListener
,
CreateLifecycleListener
,
DeleteLifecycleListener
,
DetachLifecycleListener
,
DirtyLifecycleListener
,
LoadLifecycleListener
, or
StoreLifecycleListener
are registered
with the PersistenceManager or PersistenceManagerFactory
and receive callbacks during life cycle events
of the persistent instances of interest.
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.