|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.workflow.base.BaseStep
org.apache.commons.workflow.core.LoadStep
Load a class with the specified name from the specified class loader,
and push the corresponding java.lang.Class object onto the
evaluation stack.
Supported Attributes:
| Field Summary | |
protected java.lang.String |
name
The class name to be loaded. |
protected boolean |
thread
Load from the thread context class loader? |
| Fields inherited from class org.apache.commons.workflow.base.BaseStep |
id, nextStep, owner, previousStep |
| Constructor Summary | |
LoadStep()
Construct a default instance of this Step. |
|
LoadStep(java.lang.String id)
Construct an instance of this Step with the specified identifier. |
|
LoadStep(java.lang.String id,
java.lang.String name)
Construct a fully configured instance of this Step. |
|
LoadStep(java.lang.String id,
java.lang.String name,
boolean thread)
Construct a fully configured instance of this Step. |
|
| Method Summary | |
void |
execute(org.apache.commons.workflow.Context context)
Perform the executable actions related to this Step, in the context of the specified Context. |
java.lang.String |
getName()
|
boolean |
getThread()
|
void |
setName(java.lang.String name)
|
void |
setThread(boolean thread)
|
java.lang.String |
toString()
Render a string representation of this Step. |
| Methods inherited from class org.apache.commons.workflow.base.BaseStep |
getId, getNextStep, getOwner, getPreviousStep, setId, setNextStep, setOwner, setPreviousStep |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected boolean thread
| Constructor Detail |
public LoadStep()
public LoadStep(java.lang.String id)
id - Step identifier
public LoadStep(java.lang.String id,
java.lang.String name)
id - Step identifiername - Class name
public LoadStep(java.lang.String id,
java.lang.String name,
boolean thread)
id - Step identifiername - Class namethread - Load from thread context class loader?| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean getThread()
public void setThread(boolean thread)
public void execute(org.apache.commons.workflow.Context context)
throws org.apache.commons.workflow.StepException
execute in interface org.apache.commons.workflow.Stepexecute in class BaseStepcontext - The Context that is tracking our execution state
org.apache.commons.workflow.StepException - if a processing error has occurredpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||