public enum BeanManagerUtilHelper extends java.lang.Enum<BeanManagerUtilHelper>
Copyright (c) 2006 - 2017 by Global Technology Consulting Group, Inc. at gtcGroup.com .
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JNDI_BEANMANAGER |
| Modifier and Type | Method and Description |
|---|---|
static javax.enterprise.inject.spi.BeanManager |
getBeanManager() |
static org.apache.deltaspike.cdise.api.CdiContainer |
getCdiContainer() |
static boolean |
initializeCdiScope(java.lang.Class<? extends java.lang.annotation.Annotation>... scopeClasses) |
static boolean |
initializeCdiScopes() |
static boolean |
injectFields(java.lang.Object instance)
This method performs dependency injection on an instance.
|
static <BEAN> BEAN |
retrieveManagedBean(java.lang.Class<BEAN> clazz) |
static <BEAN> BEAN |
retrieveManagedBean(java.lang.Class<BEAN> clazz,
boolean suppressException) |
static BeanManagerUtilHelper |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeanManagerUtilHelper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanManagerUtilHelper INSTANCE
public static final java.lang.String JNDI_BEANMANAGER
public static BeanManagerUtilHelper[] values()
for (BeanManagerUtilHelper c : BeanManagerUtilHelper.values()) System.out.println(c);
public static BeanManagerUtilHelper valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static javax.enterprise.inject.spi.BeanManager getBeanManager()
BeanManagerpublic static org.apache.deltaspike.cdise.api.CdiContainer getCdiContainer()
CdiContainer@SafeVarargs public static boolean initializeCdiScope(java.lang.Class<? extends java.lang.annotation.Annotation>... scopeClasses)
public static boolean initializeCdiScopes()
public static boolean injectFields(java.lang.Object instance)
public static <BEAN> BEAN retrieveManagedBean(java.lang.Class<BEAN> clazz)
Objectpublic static <BEAN> BEAN retrieveManagedBean(java.lang.Class<BEAN> clazz,
boolean suppressException)
Object