[jboss-user] [JBoss jBPM] - Re: ActorId & PooledActors

swatis do-not-reply at jboss.com
Wed Apr 15 07:43:49 EDT 2009


Collection l_objClTskInstances = executionContext.getTaskMgmtInstance(
				).getTaskInstances();
		Iterator it = l_objClTskInstances.iterator();
		
				
		while(it.hasNext()) {
			TaskInstance l_objTskInstance = (TaskInstance) it.next();
																if(l_objTskInstance.hasEnded()) { 

Iterator antIt = l_objTskInstance.getPooledActors().iterator();
				while(antIt.hasNext()) {
					PooledActor l_objPooledActor = (PooledActor) antIt.next();
					System.out.println("hello pooled task instance actors are " + 
							l_objPooledActor.getActorId());
				}
}
}

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

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



More information about the jboss-user mailing list