|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openarchitectureware.workflow.lib.AbstractWorkflowComponent
org.openarchitectureware.workflow.ao.AbstractWorkflowAdvice
public abstract class AbstractWorkflowAdvice
Constructor Summary | |
---|---|
AbstractWorkflowAdvice()
|
Method Summary | |
---|---|
protected java.lang.String |
buildList(java.util.List<java.lang.String> list)
|
void |
checkConfiguration(Issues issues)
Validates the configuration before invocation. |
java.lang.String |
getAdviceTarget()
Returns the advice target. |
void |
invoke(WorkflowContext ctx,
ProgressMonitor monitor,
Issues issues)
Invokes the workflow component. |
void |
setAdviceTarget(java.lang.String adviceTarget)
Sets the target of the advice. |
abstract void |
weave(WorkflowComponent component,
Issues issues)
Weaves the advices into the specified component . |
Methods inherited from class org.openarchitectureware.workflow.lib.AbstractWorkflowComponent |
---|
checkRequiredConfigProperty, getComponentName, getContainer, getId, getLocation, getLogMessage, setContainer, setId, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractWorkflowAdvice()
Method Detail |
---|
public final void invoke(WorkflowContext ctx, ProgressMonitor monitor, Issues issues)
WorkflowComponent
ctx
- the current workflow contextmonitor
- implementors should provide some feedback about the progress
using this monitorissues
- facility for reporting possible issues that occur during
invocationWorkflowComponent.invoke(org.openarchitectureware.workflow.WorkflowContext,
org.openarchitectureware.workflow.monitor.ProgressMonitor,
org.openarchitectureware.workflow.issues.Issues)
public void checkConfiguration(Issues issues)
WorkflowComponent
issues
- facility for reporting configuration issues.WorkflowComponent.checkConfiguration(org.openarchitectureware.workflow.issues.Issues)
public void setAdviceTarget(java.lang.String adviceTarget)
adviceTarget
- the advice targetpublic java.lang.String getAdviceTarget()
public abstract void weave(WorkflowComponent component, Issues issues)
component
.
component
- the componentissues
- facility for reporting possible issues during weaving.protected java.lang.String buildList(java.util.List<java.lang.String> list)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |