Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface AttachLifecycleListener
extends InstanceLifecycleListener
Method Summary | |
void |
|
void |
|
public void postAttach(InstanceLifecycleEvent event)
This method is called after a detached instance is attached, via thePersistenceManager.makePersistent(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 correspondingAttachCallback.jdoPostAttach(Object)
on the persistent instance.
- Parameters:
event
- the attach event.
- Since:
- 2.0
public void preAttach(InstanceLifecycleEvent event)
This method is called before a detached instance is attached, via thePersistenceManager.makePersistent(Object)
method. The source instance is the detached instance. This method is called before the correspondingAttachCallback.jdoPreAttach()
on the detached instance.
- Parameters:
event
- the attach event.
- Since:
- 2.0