[jboss-user] [JBoss jBPM] - Re: How to inject a Seam component in a Decision Node ?

cmi000 do-not-reply at jboss.com
Thu Oct 23 04:23:06 EDT 2008


How about

public class MyDecisionNode implements DecisionHandler {   
  |   
  |  @In("SeamBean", scope=ScopeType.BUSINESS_PROCESS)
  |  SeamBean  seamBean;
  |   
  |  public String decide(ExecutionContext executionContext) throws Exception {   
  |   
  |   System.out.println(seamBean); // NULL !  
  |  }   
  |   
  | } 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184071#4184071

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184071



More information about the jboss-user mailing list