public interface View
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String name) |
<T> T |
put(String name,
Boolean context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T> T |
put(String name,
Character context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T> T |
put(String name,
String context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T,U extends Number> |
put(String name,
U context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T> T |
remove(String name)
Removes the specified context under the specified name from the in-scope ContextMap.
|
<T> T get(String name)
name - The name of the context sought.InsufficientCredentialException - If the user has insufficient
privileges to access that context.<T> T put(String name, String context, EnumSet<PropagationMode> propagationModes)
name - The name to associate to the specified contextcontext - a String context.propagationModes - A set of propagation modes that control over
which protocol this context will be propagated.InsufficientCredentialException - If the user has insufficient
privileges to access that context.<T,U extends Number> T put(String name, U context, EnumSet<PropagationMode> propagationModes)
name - The name to associate to the specified contextcontext - a Number context.propagationModes - A set of propagation modes that control over
which protocol this context will be propagated.InsufficientCredentialException - If the user has insufficient
privileges to access that context.<T> T put(String name, Boolean context, EnumSet<PropagationMode> propagationModes)
name - The name to associate to the specified contextcontext - an boolean String context.propagationModes - A set of propagation modes that control over
which protocol this context will be propagated.InsufficientCredentialException - If the user has insufficient
privileges to access that context.<T> T put(String name, Character context, EnumSet<PropagationMode> propagationModes)
name - The name to associate to the specified contextcontext - an char String context.propagationModes - A set of propagation modes that control over
which protocol this context will be propagated.InsufficientCredentialException - If the user has insufficient
privileges to access that context.<T> T remove(String name)
name - The name to associate to the specified contextInsufficientCredentialException - If the user has insufficient
privileges to access that context.Copyright © 2017. All rights reserved.