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 DetachLifecycleListener

All Superinterfaces:
  InstanceLifecycleListener

    public interface DetachLifecycleListener

extends InstanceLifecycleListener

This interface is implemented by listeners to be notified of detach events.

Since:
  2.0
Version:
  2.0

Method Summary
`void` | `postDetach(InstanceLifecycleEvent event)` This method is called during the execution of `PersistenceManager.detachCopy(java.lang.Object)` after the detached copy is made.
`void` | `preDetach(InstanceLifecycleEvent event)` This method is called during the execution of `PersistenceManager.detachCopy(java.lang.Object)` before the detached copy is made.

Method Detail

### preDetach

    void preDetach(InstanceLifecycleEvent event)

  This method is called during the execution of `PersistenceManager.detachCopy(java.lang.Object)` before the detached copy is made. It is called before the method `DetachCallback.jdoPreDetach()` is called on the instance to be detached.

  Parameters:
    `event` - the detach event.
  Since:
    2.0

### postDetach

    void postDetach(InstanceLifecycleEvent event)

  This method is called during the execution of `PersistenceManager.detachCopy(java.lang.Object)` after the detached copy is made. It is called after the method `DetachCallback.jdoPreDetach()` is called on the detached instance.

  Parameters:
    `event` - the detach event.
  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-2006 Apache Software Foundation. All Rights Reserved.