javax.jdo.listener

Interface AttachCallback

public interface AttachCallback

This interface is used to notify instances of attach events.
Version:
2.0
Since:
2.0

Method Summary

void
jdoPostAttach(Object attached)
This method is called during the execution of PersistenceManager.makePersistent(Object) on the persistent instance after the copy is made.
void
jdoPreAttach()
This method is called during the execution of PersistenceManager.makePersistent(Object) on the detached instance before the copy is made.

Method Details

jdoPostAttach

public void jdoPostAttach(Object attached)
Parameters:
attached - The corresponding (non-attached) instance that was attached in the call to PersistenceManager.makePersistent(Object).
Since:
2.0

jdoPreAttach

public void jdoPreAttach()
Since:
2.0