@Deprecated
public class ServerContainer
extends java.lang.Object
The actual object is wrapped to avoid exposing too much API that might change.
See ServerKeys
for Key objects.
The Keys might change in the future, but the Optional API should help dealing with those cases.
Constructor and Description |
---|
ServerContainer(ServerContainer container)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<T> |
getValue(Key<T> key)
Deprecated.
|
public ServerContainer(ServerContainer container)
public <T> java.util.Optional<T> getValue(Key<T> key)