Package javax.jdo.listener
Interface DetachCallback
-
public interface DetachCallbackThis interface is used to notify instances of detach events.- Since:
- 2.0
- Version:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidjdoPostDetach(Object detached)This method is called during the execution ofPersistenceManager.detachCopy(T)on the detached instance after the copy is made.voidjdoPreDetach()This method is called during the execution ofPersistenceManager.detachCopy(T)on the persistent instance before the copy is made.
-
-
-
Method Detail
-
jdoPreDetach
void jdoPreDetach()
This method is called during the execution ofPersistenceManager.detachCopy(T)on the persistent instance before the copy is made.- Since:
- 2.0
-
jdoPostDetach
void jdoPostDetach(Object detached)
This method is called during the execution ofPersistenceManager.detachCopy(T)on the detached instance after the copy is made.- Parameters:
detached- The corresponding (attached) persistent instance.- Since:
- 2.0
-
-