[jboss-user] [JBoss jBPM] - Re: Node configuration with Maps - How to?

Vorsorge do-not-reply at jboss.com
Thu Aug 23 04:24:27 EDT 2007


Hi,

I do not know what I did wrong yesterday. Today everything worked fine. The mysteries of software development! ;-)

Here is my answer to my problem:



  | 
  | public class SubProcessHandler extends SubProcessNode implements ActionHandler {
  | 
  | 	private Map<String, Object> vars = new HashMap<String, Object>();
  | 	
  | 	public void execute(ExecutionContext contxt) throws Exception {
  | 
  | 		Iterator varIt = this.vars.entrySet().iterator();
  | 			
  | 		while (varIt.hasNext()) {
  | 			Entry entry = (Entry)varIt.next();
  | 			
  | 			System.out.println("################# " + entry.getKey() + " - " + entry.getValue());
  | 		}
  | 			
  | 	}
  | 
  | 
  | 

Thanks!
Martin

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

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



More information about the jboss-user mailing list