Class AbstractContext
- java.lang.Object
-
- org.jboss.cdi.tck.tests.full.lookup.dynamic.destroy.normal.AbstractContext
-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Context
- Direct Known Subclasses:
CustomAlterableContext,CustomNonAlterableContext
public abstract class AbstractContext extends Object implements jakarta.enterprise.context.spi.Context
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractContext.Instance
-
Field Summary
Fields Modifier and Type Field Description protected Map<jakarta.enterprise.context.spi.Contextual<?>,AbstractContext.Instance>storage
-
Constructor Summary
Constructors Constructor Description AbstractContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(jakarta.enterprise.context.spi.Contextual<T> contextual)<T> Tget(jakarta.enterprise.context.spi.Contextual<T> contextual, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)booleanisActive()
-
-
-
Field Detail
-
storage
protected final Map<jakarta.enterprise.context.spi.Contextual<?>,AbstractContext.Instance> storage
-
-
Method Detail
-
get
public <T> T get(jakarta.enterprise.context.spi.Contextual<T> contextual, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)- Specified by:
getin interfacejakarta.enterprise.context.spi.Context
-
get
public <T> T get(jakarta.enterprise.context.spi.Contextual<T> contextual)
- Specified by:
getin interfacejakarta.enterprise.context.spi.Context
-
isActive
public boolean isActive()
- Specified by:
isActivein interfacejakarta.enterprise.context.spi.Context
-
-