| Package | Description |
|---|---|
| org.glassfish.contextpropagation | |
| org.glassfish.contextpropagation.internal | |
| org.glassfish.contextpropagation.spi | |
| org.glassfish.contextpropagation.wireadapters | |
| org.glassfish.contextpropagation.wireadapters.glassfish | |
| org.glassfish.contextpropagation.wireadapters.wls |
Provides public interfaces and classes for compatibility with Web Logic
weblogic.workarea. |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<PropagationMode> |
Location.PROP_MODES |
| Modifier and Type | Method and Description |
|---|---|
static PropagationMode |
PropagationMode.fromOrdinal(int ordinal)
A utility method for getting a PropagationMode given that we know its
ordinal value.
|
static PropagationMode |
PropagationMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropagationMode[] |
PropagationMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<PropagationMode> |
PropagationMode.defaultSet() |
static EnumSet<PropagationMode> |
PropagationMode.defaultSetOneway() |
EnumSet<PropagationMode> |
ContextViewFactory.getPropagationModes() |
EnumSet<PropagationMode> |
ContextMap.getPropagationModes(String name)
Get the propagation modes of a the context with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
View.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,
Boolean context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T> T |
View.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,
Character context,
EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.
|
<T> T |
View.put(String name,
String 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> |
View.put(String name,
U 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.
|
| Modifier and Type | Method and Description |
|---|---|
EnumSet<PropagationMode> |
Entry.getPropagationModes() |
EnumSet<PropagationMode> |
AccessControlledMap.getPropagationModes(String key) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Map.Entry<String,Entry>> |
SimpleMap.iterator(SimpleMap.Filter filter,
PropagationMode mode) |
boolean |
SimpleMap.Filter.keep(Map.Entry<String,Entry> mapEntry,
PropagationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
static Entry |
Entry.createOpaqueEntryInstance(Object context,
EnumSet<PropagationMode> propModes,
String className) |
static Entry |
Entry.createViewEntryInstance(Object context,
EnumSet<PropagationMode> propModes,
ViewImpl view) |
<T> T |
ViewImpl.put(String name,
Boolean context,
EnumSet<PropagationMode> propagationModes) |
<T> T |
ViewImpl.put(String name,
Character context,
EnumSet<PropagationMode> propagationModes) |
<T> T |
ViewImpl.put(String name,
String context,
EnumSet<PropagationMode> propagationModes) |
<T,U extends Number> |
ViewImpl.put(String name,
U context,
EnumSet<PropagationMode> propagationModes) |
<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 |
ViewImpl.putSerializable(String name,
Serializable context,
EnumSet<PropagationMode> propagationModes,
boolean allowAllToRead) |
| Constructor and Description |
|---|
Entry(Object context,
EnumSet<PropagationMode> propModes,
Entry.ContextType contextType)
Dedicated constructor, set the work context, it propagation mode and type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContextMapPropagator.receiveResponse(InputStream in,
PropagationMode mode)
Deserializes context from an
InputStream provided by
a protocol that is receiving a request. |
void |
ContextMapPropagator.sendRequest(OutputStream out,
PropagationMode propagationMode)
Transfers the entries with the specified
PropagationMode
from ContextMaps,
in thread-local storage, to
the protocol OutputStream while it is
sending an out-bound request. |
void |
ContextMapPropagator.sendResponse(OutputStream out,
PropagationMode propagationMode)
Transfers the entries with the specified
PropagationMode
from ContextMaps,
in thread-local storage, to
the protocol OutputStream while it is
sending an out-bound response. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractWireAdapter.write(ObjectOutputStream oos,
String key,
Object value,
Entry.ContextType contextType,
EnumSet<PropagationMode> propagationModes,
String className) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultWireAdapter.write(ObjectOutputStream oos,
String key,
Object value,
Entry.ContextType contextType,
EnumSet<PropagationMode> propagationModes,
String className) |
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<PropagationMode> |
WLSWireAdapter.toPropagationMode(int mode) |
| Modifier and Type | Method and Description |
|---|---|
static int |
WLSWireAdapter.toWlsPropagationMode(EnumSet<PropagationMode> propagationModes) |
void |
WLSWireAdapter.write(ObjectOutputStream oos,
String key,
Object value,
Entry.ContextType contextType,
EnumSet<PropagationMode> propagationModes,
String className) |
Copyright © 2019. All rights reserved.