[jbpm-dev] [Design of JBoss jBPM] - Ending executions API
heiko.braun@jboss.com
do-not-reply at jboss.com
Fri Feb 20 04:15:45 EST 2009
I was just looking at the ActivityExecution interface, it says:
| /** view upon an {@link Execution path of execution} exposed to
| * {@link ActivityBehaviour} implementations.
| *
| * @author Tom Baeyens
| */
| public interface ActivityExecution extends OpenExecution {
|
However it exposes e method to end the execution which states:
| /** ends this execution and all of its child executions.
| *
| * <p>The execution will be removed from it's parent. Potentially this can cause
| * a parent execution to start executing in case this is the last concurrent
| * execution for which the parent is waiting.</p>
| *
| * <p>This method should not be called in {@link ActivityBehaviour}s. It can be called from
| * outside the process execution and in {@link ExternalActivityBehaviour}s. </p> */
| void end();
|
This method should not be called in {@link ActivityBehaviour}s.
Why is in the interface then?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211726#4211726
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211726
More information about the jbpm-dev
mailing list