Class ViewImpl
- java.lang.Object
-
- org.glassfish.contextpropagation.internal.ViewImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclean()<T> Tget(String name)<T> Tput(String name, Boolean context, EnumSet<PropagationMode> propagationModes)Stores the specified context under the specified name into the in-scope ContextMap.<T> Tput(String name, Character context, EnumSet<PropagationMode> propagationModes)Stores the specified context under the specified name into the in-scope ContextMap.<T> Tput(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> TputSerializable(String name, Serializable context, EnumSet<PropagationMode> propagationModes, boolean allowAllToRead)<T> Tremove(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:ViewStores 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:ViewStores 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:ViewStores 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:ViewStores 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:ViewRemoves the specified context under the specified name from the in-scope ContextMap.
-
clean
public void clean()
-
-