|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The concrete context type of the implementationpublic interface Contexts<T extends javax.enterprise.context.spi.Context>
This interface provides operations relating to Contexts. The TCK porting package must provide an implementation of this interface which is suitable for the target implementation.
| Field Summary | |
|---|---|
static String |
PROPERTY_NAME
|
| Method Summary | |
|---|---|
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 |
| Field Detail |
|---|
static final String PROPERTY_NAME
| Method Detail |
|---|
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 destroy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||