public static interface ServerContext.Spi
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)
.Modifier and Type | Method and Description |
---|---|
Collection |
getServerContext()
Returns a server context collection for the current thread, or
null if provider does not contain context for the
current thread. |
Collection getServerContext()
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.
null
if none knownCopyright © GigaSpaces.