@Typed public abstract class ContextUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
isContextActive(Class<? extends Annotation> scopeAnnotationClass)
Checks if the context for the given scope annotation is active. 
 | 
static boolean | 
isContextActive(Class<? extends Annotation> scopeAnnotationClass,
               javax.enterprise.inject.spi.BeanManager beanManager)
Checks if the context for the given scope annotation is active. 
 | 
public static boolean isContextActive(Class<? extends Annotation> scopeAnnotationClass)
scopeAnnotationClass - The scope annotation (e.g. @RequestScoped.class)public static boolean isContextActive(Class<? extends Annotation> scopeAnnotationClass, javax.enterprise.inject.spi.BeanManager beanManager)
scopeAnnotationClass - The scope annotation (e.g. @RequestScoped.class)beanManager - The BeanManagerCopyright © 2017 The Apache Software Foundation. All rights reserved.