public class ContextWrapper extends Object implements javax.enterprise.context.spi.AlterableContext
| Constructor and Description |
|---|
ContextWrapper(org.apache.deltaspike.core.util.context.AbstractContext context,
Class<? extends Annotation> scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(javax.enterprise.context.spi.Contextual<?> contextual) |
<T> T |
get(javax.enterprise.context.spi.Contextual<T> component) |
<T> T |
get(javax.enterprise.context.spi.Contextual<T> component,
javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
Class<? extends Annotation> |
getScope() |
boolean |
isActive() |
public ContextWrapper(org.apache.deltaspike.core.util.context.AbstractContext context,
Class<? extends Annotation> scope)
public Class<? extends Annotation> getScope()
getScope in interface javax.enterprise.context.spi.Contextpublic <T> T get(javax.enterprise.context.spi.Contextual<T> component,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
get in interface javax.enterprise.context.spi.Contextpublic <T> T get(javax.enterprise.context.spi.Contextual<T> component)
get in interface javax.enterprise.context.spi.Contextpublic boolean isActive()
isActive in interface javax.enterprise.context.spi.Contextpublic void destroy(javax.enterprise.context.spi.Contextual<?> contextual)
destroy in interface javax.enterprise.context.spi.AlterableContextCopyright © 2018 Vaadin Ltd. All Rights Reserved.