T
- The concrete context type of the implementationpublic interface Contexts<T extends javax.enterprise.context.spi.Context>
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
void |
destroyContext(T context)
Destroy the context.
|
T |
getDependentContext()
Returns the dependent context, regardless of whether it is active or not
|
T |
getRequestContext()
Get the request context, regardless of whether it is active or not
|
void |
setActive(T context)
Sets the specified context as active
|
void |
setInactive(T context)
Sets the specified context as inactive
|
static final String PROPERTY_NAME
void setActive(T context)
context
- The context to set activevoid setInactive(T context)
context
- The context to set inactiveT getRequestContext()
T getDependentContext()
void destroyContext(T context)
context
- the context to destroyCopyright © 2008–2019 Jakarta CDI TCK. All rights reserved.