Package org.jboss.as.ee.concurrent
Class ContextServiceTypesConfiguration
- java.lang.Object
-
- org.jboss.as.ee.concurrent.ContextServiceTypesConfiguration
-
- All Implemented Interfaces:
Serializable
public class ContextServiceTypesConfiguration extends Object implements Serializable
The configuration for a Context Service, which indicates if a context type should be cleared, propagated or unchanged.- Author:
- emmartins
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContextServiceTypesConfiguration.Builder
The builder class.
-
Field Summary
Fields Modifier and Type Field Description static ContextServiceTypesConfiguration
DEFAULT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCleared(String contextType)
boolean
isPropagated(String contextType)
boolean
isUnchanged(String contextType)
-
-
-
Field Detail
-
DEFAULT
public static final ContextServiceTypesConfiguration DEFAULT
-
-
Method Detail
-
isCleared
public boolean isCleared(String contextType)
- Parameters:
contextType
-- Returns:
- true if the specified contextType should be cleared, false otherwise
-
isPropagated
public boolean isPropagated(String contextType)
- Parameters:
contextType
-- Returns:
- true if the specified contextType should be propagated, false otherwise
-
isUnchanged
public boolean isUnchanged(String contextType)
- Parameters:
contextType
-- Returns:
- true if the specified contextType should be unchanged, false otherwise
-
-