Package org.camunda.bpm.engine.cdi.annotation

Examples of org.camunda.bpm.engine.cdi.annotation.ExecutionIdLiteral


  @Test
  @Deployment
  public void testExecutionIdInjectableByQualifier() {
    getBeanInstance(BusinessProcess.class).startProcessByKey("keyOfTheProcess");
   
    Set<Bean<?>> beans = beanManager.getBeans(String.class, new ExecutionIdLiteral());   
    Bean<String> bean = (Bean<java.lang.String>) beanManager.resolve(beans);
   
    CreationalContext<String> ctx = beanManager.createCreationalContext(bean);
    String executionId = (String) beanManager.getReference(bean, String.class, ctx);  
    Assert.assertNotNull(executionId);
View Full Code Here

TOP

Related Classes of org.camunda.bpm.engine.cdi.annotation.ExecutionIdLiteral

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.