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

## net.jini.export
Interface ServerContext.Spi

All Known Implementing Classes:
  JrmpServerContext

Enclosing interface:
  ServerContext

public static interface ServerContext.Spi

Defines the interface for server context providers, which are consulted by `ServerContext.getServerContext()` if no server context has been explicitly associated with the current thread via a previous call to `ServerContext.doWithServerContext(java.lang.Runnable, java.util.Collection)`.

Method Summary
`Collection` | `getServerContext()` Returns a server context collection for the current thread, or `null` if provider does not contain context for the current thread.

Method Detail

### getServerContext

    public Collection getServerContext()

  Returns a server context collection for the current thread, or `null` if provider does not contain context for the current thread.

  The context information available from a given element of the collection is determined by that element's type. The order of the elements is insignificant. The collection may be empty.

  The caller of this method cannot assume that the returned collection is modifiable.

  Returns:
    the server context for the current thread, or `null` if none known

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 © 2004 Sun Microsystems, Inc. All rights reserved