Package javax.jdo.listener
Interface DetachLifecycleListener
- All Superinterfaces:
InstanceLifecycleListener
This interface is implemented by listeners to be notified of
detach events.
- Since:
- 2.0
- Version:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postDetach
(InstanceLifecycleEvent event) This method is called during the execution ofPersistenceManager.detachCopy(T)
after the detached copy is made.void
preDetach
(InstanceLifecycleEvent event) This method is called during the execution ofPersistenceManager.detachCopy(T)
before the detached copy is made.
-
Method Details
-
preDetach
This method is called during the execution ofPersistenceManager.detachCopy(T)
before the detached copy is made. It is called before the methodDetachCallback.jdoPreDetach()
is called on the instance to be detached.- Parameters:
event
- the detach event.- Since:
- 2.0
-
postDetach
This method is called during the execution ofPersistenceManager.detachCopy(T)
after the detached copy is made. It is called after the methodDetachCallback.jdoPreDetach()
is called on the detached instance.- Parameters:
event
- the detach event.- Since:
- 2.0
-