javax.jdo.listener.DetachLifecycleListener - JDO interface
javax.jdo.listener
Interface DetachLifecycleListener
- Superinterfaces:
- InstanceLifecycleListener
This interface is implemented by listeners to be notified of detach events.
- Since:
- JDO 2.0
void postDetach( InstanceLifecycleEvent event)
This method is called during the execution of javax.jdo.PersistenceManager.detachCopy after the detached copy is made. It is called after the method DetachCallback.jdoPreDetach is called on the detached instance.
- Parameters:
-
event
- the detach event.
- Since:
- JDO 2.0
void preDetach( InstanceLifecycleEvent event)
This method is called during the execution of javax.jdo.PersistenceManager.detachCopy before the detached copy is made. It is called before the method DetachCallback.jdoPreDetach is called on the instance to be detached.
- Parameters:
-
event
- the detach event.
- Since:
- JDO 2.0