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 StoreLifecycleListener

All Superinterfaces:
  InstanceLifecycleListener

    public interface StoreLifecycleListener

extends InstanceLifecycleListener

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

Since:
  2.0
Version:
  2.0

Method Summary
`void` | `postStore(InstanceLifecycleEvent event)` Invoked whenever a persistent instance is stored, for example during `PersistenceManager.flush()` or `Transaction.commit()`.
`void` | `preStore(InstanceLifecycleEvent event)` Invoked whenever a persistent instance is stored, for example during `PersistenceManager.flush()` or `Transaction.commit()`.

Method Detail

### preStore

    void preStore(InstanceLifecycleEvent event)

  Invoked whenever a persistent instance is stored, for example during `PersistenceManager.flush()` or `Transaction.commit()`. It is called before the method `StoreCallback.jdoPreStore()` is invoked.

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

### postStore

    void postStore(InstanceLifecycleEvent event)

  Invoked whenever a persistent instance is stored, for example during `PersistenceManager.flush()` or `Transaction.commit()`. It is called after the field values have been stored.

  Parameters:
    `event` - the store 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.