Package javax.jdo.listener
Interface AttachCallback
public interface AttachCallback
This interface is used to notify instances of attach events.
- Since:
- 2.0
- Version:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
jdoPostAttach
(Object attached) This method is called during the execution ofPersistenceManager.makePersistent(T)
on the persistent instance after the copy is made.void
This method is called during the execution ofPersistenceManager.makePersistent(T)
on the detached instance before the copy is made.
-
Method Details
-
jdoPreAttach
void jdoPreAttach()This method is called during the execution ofPersistenceManager.makePersistent(T)
on the detached instance before the copy is made.- Since:
- 2.0
-
jdoPostAttach
This method is called during the execution ofPersistenceManager.makePersistent(T)
on the persistent instance after the copy is made.- Parameters:
attached
- The corresponding (non-attached) instance that was attached in the call toPersistenceManager.makePersistent(T)
.- Since:
- 2.0
-