public interface EventHandlerTemplateData
extends java.io.Serializable
BPEL event handlers allow for receiving external events and requests concurrently with the running process instance. This is especially helpful for events and requests that may occur at arbitrary times and an arbitrary number of times.
There are two types of events.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static int |
KIND_ON_ALARM
The event handler is signaled after a specific duration of time (timeout event) or at a specific point in time.
|
static int |
KIND_ON_ALARM_REPEATING
The event handler is signaled after a specific duration of time (timeout event)
or at a specific point in time and the alarm is repeated after defined intervals.
|
static int |
KIND_ON_MESSAGE
The event handler waits for a message to arrive.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getAvailableActions()
Returns the actions that can be called for the current event handler.
|
EHTID |
getID()
Returns the object identifier.
|
java.lang.String |
getInputMessageTypeName()
Returns the name of the input message type.
|
int |
getKind()
Returns the kind of the event that is waited for.
|
java.lang.String |
getOperationName()
Returns the name of the operation.
|
java.lang.String |
getPortTypeName()
Returns the name of the partner's port type.
|
java.lang.String |
getPortTypeNamespace()
Returns the namespace of the operation.
|
PTID |
getProcessTemplateID()
Returns the object ID of the process template that contains the event handler.
|
java.lang.String |
getProcessTemplateName()
Returns the name of the process template that contains the event handler.
|
boolean |
isTwoWayOperation()
Returns whether the service to be called is a two-way
operation or not.
|
static final java.lang.String COPYRIGHT
static final int KIND_ON_MESSAGE
static final int KIND_ON_ALARM_REPEATING
static final int KIND_ON_ALARM
EHTID getID()
int[] getAvailableActions()
EventHandlerTemplateActions
for the set
of possible actions.int getKind()
Possible values are: KIND_ON_MESSAGE, KIND_ON_ALARM, KIND_ON_ALARM_REPEATING.
boolean isTwoWayOperation()
java.lang.String getPortTypeNamespace()
java.lang.String getPortTypeName()
java.lang.String getOperationName()
PTID getProcessTemplateID()
java.lang.String getInputMessageTypeName()
java.lang.String getProcessTemplateName()