|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bareflow.Runtime
public class Runtime
This class provides default implementation for the IRuntime interface.
It needs to subclassed only if developer needs to define special behavior
to initialize (see init(IRuntimeContext)) and close
(see close()) the runtime.
ITask,
IRuntimeContext| Constructor Summary | |
|---|---|
Runtime()
|
|
| Method Summary | |
|---|---|
protected void |
close()
Closes this runtime. |
protected void |
init(IRuntimeContext ctx)
Initializes this runtime |
void |
run(ITask task,
IRuntimeContext ctx)
Runs the task in the runtime context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Runtime()
| Method Detail |
|---|
protected void init(IRuntimeContext ctx)
ctx - a runtime context this Runtime operates in
public final void run(ITask task,
IRuntimeContext ctx)
throws BareflowException
IRuntime
run in interface IRuntimetask - task to runctx - runtime context
BareflowExceptionprotected void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||