| Package | Description |
|---|---|
| org.glassfish.contextpropagation | |
| org.glassfish.contextpropagation.bootstrap | |
| org.glassfish.contextpropagation.internal |
| Modifier and Type | Method and Description |
|---|---|
<T extends ViewCapable> |
ContextMap.createViewCapable(String prefix)
ViewCapable instances are custom contexts and are created by the context
propagation framework by
using a ContextViewFactory registered against the corresponding context's
name prefix.
|
<T> T |
ContextMap.get(String name) |
EnumSet<PropagationMode> |
ContextMap.getPropagationModes(String name)
Get the propagation modes of a the context with the specified name.
|
<T> T |
ContextMap.put(String name,
Boolean context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T> T |
ContextMap.put(String name,
Character context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T> T |
ContextMap.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> |
ContextMap.put(String name,
U context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T> T |
ContextMap.remove(String name)
Removes the specified context under the specified name from the in-scope ContextMap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContextAccessController.checkAccessAllowed(String key,
AccessControlledMap.ContextAccessLevel type)
Checks if access is allowed and throws an InsufficientCredentialException
if access is not allowed.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ViewCapable> |
Utils.PrivilegedWireAdapterAccessor.createViewCapable(String prefix,
boolean isOriginator) |
<T> T |
AccessControlledMap.get(String key) |
EnumSet<PropagationMode> |
AccessControlledMap.getPropagationModes(String key) |
<T> T |
AccessControlledMap.put(String key,
Entry entry) |
<T> T |
Utils.ContextMapAdditionalAccessors.putAscii(String name,
String context,
EnumSet<PropagationMode> propagationModes)
Store the specified work context under the specified name into the in-scope ContextMap.
|
<T> T |
Utils.ContextMapAdditionalAccessors.putNotAscii(String key,
String value,
EnumSet<PropagationMode> propagationModes) |
<T> T |
Utils.ContextMapAdditionalAccessors.putSerializable(String key,
Serializable value,
EnumSet<PropagationMode> propagationModes) |
<T> T |
AccessControlledMap.remove(String key) |
Copyright © 2019. All rights reserved.