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

## com.sun.squawk
Interface Isolate.LifecycleListener

Enclosing class:
  Isolate

    public static interface Isolate.LifecycleListener

Monitor isolate lifecycle events such as shutdown, hibernate, and unhibernate. Isolate life-cycle events can be monitored by implementing LifecycleListener, and registering it with the isolate using `Isolate.addLifecycleListener(com.sun.squawk.Isolate.LifecycleListener, int)`, specifying the kind of event to monitor.

An LifecycleListener can be registered for more than one event kind.

Method Summary
`void` | `handleLifecycleListenerEvent(Isolate iso, int eventKind)` This method will be called when the lifecycle event occurs on the isolate that this listener was registered for using `addLifecycleListener`.

Method Detail

### handleLifecycleListenerEvent

    void handleLifecycleListenerEvent(Isolate iso,
                                      int eventKind)

  This method will be called when the lifecycle event occurs on the isolate that this listener was registered for using `addLifecycleListener`.

  Parameters:
    `iso` - the isolate that had the lifecycle event
    `eventKind` - the lifecycle event that occurred. One of `Isolate.SHUTDOWN_EVENT_MASK`, `Isolate.HIBERNATE_EVENT_MASK`, or `Isolate.UNHIBERNATE_EVENT_MASK`
  See Also:
    `Isolate.addLifecycleListener(com.sun.squawk.Isolate.LifecycleListener, int)`, `Isolate.exit(int)`, `Isolate.hibernate()`, `Isolate.unhibernate()`

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

"
For updated information see the Java FRC site
"