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
 void jdoPostAttach(java.lang.Object attached)
          This method is called during the execution of PersistenceManager.makePersistent(java.lang.Object) on the persistent instance after the copy is made.
 void jdoPreAttach()
          This method is called during the execution of PersistenceManager.makePersistent(java.lang.Object) on the detached instance before the copy is made.
 

Method Detail

jdoPreAttach

void jdoPreAttach()
This method is called during the execution of PersistenceManager.makePersistent(java.lang.Object) on the detached instance before the copy is made.

Since:
2.0

jdoPostAttach

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

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


Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Apache JDO2 API 2.0 Reference (DEPRECATED)
12c Release 1 (12.1.1)
Part Number E24397_01