Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.jdo.listener
Interface DetachCallback

    public interface DetachCallback

This interface is used to notify instances of detach events.

Since:
  2.0
Version:
  2.0

Method Summary
`void` | `jdoPostDetach(java.lang.Object detached)` This method is called during the execution of `PersistenceManager.detachCopy(T)` on the detached instance after the copy is made.
`void` | `jdoPreDetach()` This method is called during the execution of `PersistenceManager.detachCopy(T)` on the persistent instance before the copy is made.

Method Detail

### jdoPreDetach

    void jdoPreDetach()

  This method is called during the execution of `PersistenceManager.detachCopy(T)` on the persistent instance before the copy is made.

  Since:
    2.0

### jdoPostDetach

    void jdoPostDetach(java.lang.Object detached)

  This method is called during the execution of `PersistenceManager.detachCopy(T)` on the detached instance after the copy is made.

  Parameters:
    `detached` - The corresponding (attached) persistent instance.
  Since:
    2.0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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