|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttachLifecycleListener
This interface is implemented by listeners to be notified of attach events.
| Method Summary | |
|---|---|
void |
postAttach(InstanceLifecycleEvent event)
This method is called after a detached instance is attached, via the PersistenceManager.makePersistent(java.lang.Object) method. |
void |
preAttach(InstanceLifecycleEvent event)
This method is called before a detached instance is attached, via the PersistenceManager.makePersistent(java.lang.Object) method. |
| Method Detail |
|---|
void preAttach(InstanceLifecycleEvent event)
PersistenceManager.makePersistent(java.lang.Object) method. The source
instance is the detached instance. This method is called before the
corresponding AttachCallback.jdoPreAttach() on the detached
instance.
event - the attach event.void postAttach(InstanceLifecycleEvent event)
PersistenceManager.makePersistent(java.lang.Object) method. The source
instance is the corresponding persistent instance in the cache; the
target instance is the detached instance. This method is called after
the corresponding AttachCallback.jdoPostAttach(java.lang.Object) on the
persistent instance.
event - the attach event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||