Class ViewImpl
- java.lang.Object
-
- org.glassfish.contextpropagation.internal.ViewImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
<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>
Tput(String name, U context, EnumSet<PropagationMode> propagationModes)
Stores the specified context under the specified name into the in-scope ContextMap.<T> T
putSerializable(String name, Serializable context, EnumSet<PropagationMode> propagationModes, boolean allowAllToRead)
<T> T
remove(String name)
Removes the specified context under the specified name from the in-scope ContextMap.
-
-
-
Constructor Detail
-
ViewImpl
protected ViewImpl(String prefix)
-
-
Method Detail
-
get
public <T> T get(String name)
-
put
public <T> T put(String name, String context, EnumSet<PropagationMode> propagationModes)
Description copied from interface:View
Stores the specified context under the specified name into the in-scope ContextMap.
-
put
public <T,U extends Number> T put(String name, U context, EnumSet<PropagationMode> propagationModes)
Description copied from interface:View
Stores the specified context under the specified name into the in-scope ContextMap.
-
put
public <T> T put(String name, Boolean context, EnumSet<PropagationMode> propagationModes)
Description copied from interface:View
Stores the specified context under the specified name into the in-scope ContextMap.
-
put
public <T> T put(String name, Character context, EnumSet<PropagationMode> propagationModes)
Description copied from interface:View
Stores the specified context under the specified name into the in-scope ContextMap.
-
putSerializable
public <T> T putSerializable(String name, Serializable context, EnumSet<PropagationMode> propagationModes, boolean allowAllToRead)
-
remove
public <T> T remove(String name)
Description copied from interface:View
Removes the specified context under the specified name from the in-scope ContextMap.
-
clean
public void clean()
-
-