[jbpm-dev] [Design of JBoss jBPM] - Re: Clarification: jBPM4 activities and events

tom.baeyens@jboss.com do-not-reply at jboss.com
Wed Feb 4 02:40:19 EST 2009


javadoc of the execute method was updated to:

piece of Java code that is to be included in a process as activity behaviour or as a hidden listener to process events. 
  | 
  | ActivityBehaviour's can be used to implement the behaviour of activities, in which case this behaviour is associated to a graphical activity in the diagram. 
  | 
  | An ActivityBehaviour can control the propagation of execution. ActivityBehaviour's can become external activities when they invoke ActivityExecution.waitForSignal(). That means the activity will become a wait state. In that case, ExternalActivityBehaviour should be implemented to also handle the external triggers. 

activities should not be used for listening to events.  EventListener should be implemented.

is that better ?

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

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



More information about the jbpm-dev mailing list