javax.jdo.listener

Interface DetachCallback

public interface DetachCallback

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

Method Summary

void
jdoPostDetach(Object detached)
This method is called during the execution of PersistenceManager.detachCopy(Object) on the detached instance after the copy is made.
void
jdoPreDetach()
This method is called during the execution of PersistenceManager.detachCopy(Object) on the persistent instance before the copy is made.

Method Details

jdoPostDetach

public void jdoPostDetach(Object detached)
Parameters:
detached - The corresponding (attached) persistent instance.
Since:
2.0

jdoPreDetach

public void jdoPreDetach()
Since:
2.0