Package org.jbpm.executor.cdi
Class CDIUtils
- java.lang.Object
-
- org.jbpm.executor.cdi.CDIUtils
-
public class CDIUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description CDIUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TcreateBean(Class<T> beanType, javax.enterprise.inject.spi.BeanManager beanManager, Annotation... bindings)static javax.enterprise.inject.spi.BeanManagerlookUpBeanManager(org.kie.api.executor.CommandContext ctx)
-
-
-
Method Detail
-
lookUpBeanManager
public static javax.enterprise.inject.spi.BeanManager lookUpBeanManager(org.kie.api.executor.CommandContext ctx)
-
createBean
public static <T> T createBean(Class<T> beanType, javax.enterprise.inject.spi.BeanManager beanManager, Annotation... bindings) throws Exception
- Throws:
Exception
-
-