org.jbpm.executor.cdi
Class CDIUtils
java.lang.Object
org.jbpm.executor.cdi.CDIUtils
public class CDIUtils
- extends Object
Method Summary |
static
|
createBean(Class<T> beanType,
javax.enterprise.inject.spi.BeanManager beanManager,
Annotation... bindings)
|
static javax.enterprise.inject.spi.BeanManager |
lookUpBeanManager(org.kie.internal.executor.api.CommandContext ctx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDIUtils
public CDIUtils()
lookUpBeanManager
public static javax.enterprise.inject.spi.BeanManager lookUpBeanManager(org.kie.internal.executor.api.CommandContext ctx)
createBean
public static <T> T createBean(Class<T> beanType,
javax.enterprise.inject.spi.BeanManager beanManager,
Annotation... bindings)
throws Exception
- Throws:
Exception
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.