|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.jacob.JacobObject
org.apache.ode.jacob.JacobRunnable
org.apache.ode.jacob.examples.sequence.Sequence
public abstract class Sequence
Abstract process that executes a number of steps sequentially.
Constructor Summary | |
---|---|
Sequence(int steps,
SynchChannel done)
Create a Sequence with a number of steps. |
Method Summary | |
---|---|
protected abstract JacobRunnable |
doStep(int step,
SynchChannel done)
Execute a step |
void |
run()
Process execution block |
Methods inherited from class org.apache.ode.jacob.JacobRunnable |
---|
getImplementedMethods, toString |
Methods inherited from class org.apache.ode.jacob.JacobObject |
---|
getClassName, getExtension, getMethod, importChannel, instance, newChannel, newChannel, object, object, object, object, replication, replication |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Sequence(int steps, SynchChannel done)
Sequence
with a number of steps.
steps
- number of stepsdone
- synchronous callbackMethod Detail |
---|
public void run()
run
in class JacobRunnable
protected abstract JacobRunnable doStep(int step, SynchChannel done)
step
- step numberdone
- notification after step completion
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |