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

## org.apache.openjpa.event
Interface LifecycleCallbacks

All Superinterfaces:
  Serializable

All Known Implementing Classes:
  BeanLifecycleCallbacks, MethodLifecycleCallbacks

    public interface LifecycleCallbacks

extends Serializable

A lifecycle listener that responds to callbacks rather than events.

Author:
  Steve Kim

Method Summary
`boolean` | `hasCallback(Object obj, int eventType)` Return whether the given instance has a callback for the given event type.
`void` | `makeCallback(Object obj, Object related, int eventType)` Invoke the callback for the given event type on the given instance.

Method Detail

### hasCallback

    boolean hasCallback(Object obj,
                        int eventType)

  Return whether the given instance has a callback for the given event type.

### makeCallback

    void makeCallback(Object obj,
                      Object related,
                      int eventType)
                      throws Exception

  Invoke the callback for the given event type on the given instance.

  Throws:
    `Exception`

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 © 2006-2013 Apache Software Foundation. All Rights Reserved.