AttachLifecycleListener
- Super Interfaces:
InstanceLifecycleListener
This interface is implemented by listeners to be notified of attach events.
- Since:
- JDO 2.0
Public Methods
void postAttach(InstanceLifecycleEvent event)
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 on the persistent instance.
- Parameters:
event
- the attach event.
- Since:
- JDO 2.0
void preAttach(InstanceLifecycleEvent event)
The source instance is the detached instance. This method is called before the corresponding AttachCallback.jdoPreAttach on the detached instance.
- Parameters:
event
- the attach event.
- Since:
- JDO 2.0