GigaSpaces XAP 9.7.2 API

net.jini.export
Interface ServerContext.Spi

Enclosing class:
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

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.