public class CDIUtils extends Object
Constructor and Description |
---|
CDIUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
createBean(Class<T> beanType,
javax.enterprise.inject.spi.BeanManager beanManager,
Annotation... bindings) |
static javax.enterprise.inject.spi.BeanManager |
lookUpBeanManager(org.kie.api.executor.CommandContext ctx) |
public static javax.enterprise.inject.spi.BeanManager lookUpBeanManager(org.kie.api.executor.CommandContext ctx)
public static <T> T createBean(Class<T> beanType, javax.enterprise.inject.spi.BeanManager beanManager, Annotation... bindings) throws Exception
Exception
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.