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

## com.sun.javatest.exec
Interface BasicSession.OrderedObserver

All Superinterfaces:
  Session.Observer

All Known Implementing Classes:
  ContextManager, ExecTool

Enclosing class:
  BasicSession

    public static interface BasicSession.OrderedObserver

extends Session.Observer

Extension to the Observer interface for those classes which are sensitive to the order of notifying. If an observer wants to be notified in the very first turn, it should implements OrderedObserver interface, not just Observer and implement the order() method to return Integer.MIN_VALUE. To be notified last, the order() method should return Integer.MAX_VALUE. The order of regular observers is zero.

Method Summary
`int` | `order()` Returns number from Integer.MIN_VALUE to Integer.MAX_VALUE to be sorted by when notifying.

Methods inherited from interface com.sun.javatest.exec.Session.Observer
`updated`

Method Detail

### order

    int order()

  Returns number from Integer.MIN_VALUE to Integer.MAX_VALUE to be sorted by when notifying.

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 (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.