javax.jdo.listener.AttachCallback - JDO interface

javax.jdo.listener
Interface AttachCallback

This interface is used to notify instances of attach events.
Since:
JDO 2.0
void jdoPostAttach(Object attached)
This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy is made.
This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy is made.
Parameters:
attached - The corresponding (non-attached) instance that was attached in the call to javax.jdo.PersistenceManager.makePersistent.
Since:
JDO 2.0
void jdoPreAttach()
This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the detached instance before the copy is made.
This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the detached instance before the copy is made.
Since:
JDO 2.0