|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides run-time context and services to plugin event and start nodes.
The framework passes an instance of this interface to the
PluginEvent.activate(com.bea.wlpi.server.plugin.EventContext, com.bea.wlpi.server.common.ExecutionContext)
and PluginStart.setTrigger(com.bea.wlpi.server.plugin.EventContext, java.lang.String)
methods.
PluginEvent
,
PluginStart
,
EventInfo
,
StartInfo
Method Summary | |
void |
activateEvent(ExecutionContext context,
java.lang.String contentType,
java.lang.String eventDescriptor,
java.lang.String keyValue,
java.lang.String condition)
Perform default event activation. |
java.lang.String |
getNodeID()
Return the ID of the event or start node. |
java.lang.String |
getTemplateDefinitionID()
Return the ID of the workflow template definition. |
java.lang.String |
getTemplateID()
Return the ID of the workflow template. |
void |
postStartWatch(java.lang.String contentType,
java.lang.String eventDescriptor,
java.lang.String keyValue,
java.lang.String condition)
Register an event processor watch record for the specified message. |
void |
postStartWatch(java.lang.String contentType,
java.lang.String eventDescriptor,
java.lang.String keyValue,
java.lang.String condition,
java.lang.String startOrg)
Deprecated. Plugin start nodes should call #postStartWatch(String, String, String, String, String, boolean)
instead. |
void |
removeEventWatch(ExecutionContext context)
De-register the event processor watch record for the specified message. |
void |
removeStartWatch()
De-register the event processor watch record for the specified message. |
Method Detail |
public java.lang.String getTemplateID()
public java.lang.String getTemplateDefinitionID()
public java.lang.String getNodeID()
getTemplateID()
,
getTemplateDefinitionID()
public void activateEvent(ExecutionContext context, java.lang.String contentType, java.lang.String eventDescriptor, java.lang.String keyValue, java.lang.String condition) throws WorkflowException
true
,
the matching event is consumed and the event node triggered. If no such
message exists, the method posts an event watch record.
context
- The workflow execution context passed to the caller.contentType
- The MIME content type of the event data.eventDescriptor
- Event data format descriptor, in a plugin-defined
format appropriate to the content type. Can be null
.keyValue
- The key value required to trigger this event. Can be
null
.condition
- A conditional expression to evaluate to against the
event data. The condition must evaluate to true
to trigger
the event. Can be null
.PluginEvent
node.PluginEvent.activate(com.bea.wlpi.server.plugin.EventContext, com.bea.wlpi.server.common.ExecutionContext)
public void postStartWatch(java.lang.String contentType, java.lang.String eventDescriptor, java.lang.String keyValue, java.lang.String condition, java.lang.String startOrg)
#postStartWatch(String, String, String, String, String, boolean)
instead.
contentType
- The MIME content type of the event data.eventDescriptor
- Event data format descriptor, in a plugin-defined
format appropriate to the content type. Can be null
.keyValue
- The key value required to trigger this event. Can be
null
.condition
- A conditional expression to evaluate to against the
event data. The condition must evaluate to true
to trigger
the event. Can be null
.startOrg
- An expression which, when evaluated, yields the ID of
the organization in which to instantiate the workflow.PluginStart
node.removeStartWatch()
public void postStartWatch(java.lang.String contentType, java.lang.String eventDescriptor, java.lang.String keyValue, java.lang.String condition)
contentType
- The MIME content type of the event data.eventDescriptor
- Event data format descriptor, in a plugin-defined
format appropriate to the content type. Can be null
.keyValue
- The key value required to trigger this event. Can be
null
.condition
- A conditional expression to evaluate to against the
event data. The condition must evaluate to true
to trigger
the event. Can be null
.PluginStart
or PluginStart2
node.removeStartWatch()
public void removeEventWatch(ExecutionContext context)
PluginEvent
node.
context
- The workflow execution context passed to the caller.PluginEvent
node.public void removeStartWatch()
PluginStart
or
or PluginStart2
node.
PluginStart
or PluginStart2
node.postStartWatch(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |