|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that a plugin must implement to define a new action.
Method Summary | |
int |
execute(ActionContext actionContext,
ExecutionContext execContext)
Execute the plugin action. |
void |
fixup(com.bea.wlpi.evaluator.ExpressionParser parser)
The framework calls this method after parsing the template definition. |
void |
response(ActionContext actionContext,
ExecutionContext execContext,
java.lang.Object data)
Process an asynchronous response directed to this action. |
void |
startedWorkflowDone(ActionContext actionContext,
ExecutionContext context,
VariableInfo[] output)
Notify the plugin action that a sub-workflow it started is now complete. |
Methods inherited from interface com.bea.wlpi.common.plugin.PluginObject |
load |
Methods inherited from interface org.xml.sax.ContentHandler |
characters,
endDocument,
endElement,
endPrefixMapping,
ignorableWhitespace,
processingInstruction,
setDocumentLocator,
skippedEntity,
startDocument,
startElement,
startPrefixMapping |
Method Detail |
public int execute(ActionContext actionContext, ExecutionContext execContext) throws WorkflowException
actionContext
- This object provides action-level services such
as execution of sub-actions and sub-workflow instantiation.execContext
- The execution context. This object provides access
to the runtime context, including the template ID, template definition
ID, workflow instance ID, event data, and various services related to
workflow enactment.ExecutionContext.CONTINUE
,
ExecutionContext.STOP
, ExecutionContext.EXIT_ROLLBACK
,
ExecutionContext.EXIT_CONTINUE
, or
ExecutionContext.EXIT_RETRY
public void fixup(com.bea.wlpi.evaluator.ExpressionParser parser) throws WorkflowException
parser
- The expression parser to use.public void response(ActionContext actionContext, ExecutionContext execContext, java.lang.Object data) throws WorkflowException
execute(com.bea.wlpi.server.plugin.ActionContext, com.bea.wlpi.server.common.ExecutionContext)
method. Plugin actions can use this
callback to effect such responses as asynchronous execution of a sub-action
list. The framework ultimately calls this method when it receives a call
to Worklist.response(String, String,
String, Object)
or one of the other overloads.
actionContext
- This object provides action-level services such
as the execution of sub-actions and sub-workflow instantiation.execContext
- The execution context. This object provides access
to the runtime context, including the template ID, template definition
ID, workflow instance ID, event data, and various services related to
workflow enactment.data
- Data object which the plugin casts to a known type in order
to extract required information.public void startedWorkflowDone(ActionContext actionContext, ExecutionContext context, VariableInfo[] output) throws WorkflowException
actionContext
- This object provides action-level services such
as the execution of sub-actions and sub-workflow instantiation.execContext
- The execution context. This object provides access
to the runtime context, including the template ID, template definition
ID, workflow instance ID, event data, and various services related to
workflow enactment.output
- The output variables of the called workflow.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |