|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.bpel.compiler.SourceLocation
org.apache.ode.bpel.compiler.bom.BpelObject
org.apache.ode.bpel.compiler.bom.OnMessage
public class OnMessage
Representation of a message-driven event handler. This is used as part of a
pick
activity in both the 1.1 and 2.0 dialects, and this is
used to represent the onMessage
component of an
eventHandlers
for a scope
or
process
in 1.1. In 2.0, the
OnEvent
is used as part of the
eventHandlers
construct for a scope
or
process
.
Note that the semantics of the variable set with #setVariable(String)
are different depending on whether this is attached to a
pick
activity or to an eventHandlers
for a
scope
or process
. In the case of the
pick
, the variable is interpreted as being declared in the
enclosing scope
, but for the other construct, the variable is
local to the onMessage
instance. (Recall that the
eventHandlers
construct implements replication like the
!
operator in the pi-calculus, so there may be multiple
instances of an onMessage
handler around simultaneously.
PickActivity
,
OnEvent
Field Summary |
---|
Fields inherited from class org.apache.ode.bpel.compiler.bom.BpelObject |
---|
ATTR_LINENO |
Constructor Summary | |
---|---|
OnMessage(org.w3c.dom.Element el)
|
Method Summary | |
---|---|
Activity |
getActivity()
Get the activity associated with the event (i.e. |
java.util.List<Correlation> |
getCorrelations()
|
java.lang.String |
getMessageExchangeId()
Get the optional message exchange identifier. |
java.lang.String |
getOperation()
Get the operation for the communication. |
java.lang.String |
getPartnerLink()
Get the partnerLink link on which to communicate. |
javax.xml.namespace.QName |
getPortType()
Get the port type for the communication. |
java.lang.String |
getVariable()
Get the input message variable for the event. |
Methods inherited from class org.apache.ode.bpel.compiler.bom.BpelObject |
---|
createBpelObject, getAttribute, getAttribute, getAttribute, getAttribute, getChildren, getChildren, getChildren, getColumnNo, getElement, getExtensibilityElement, getExtensibilityElements, getFirstChild, getFirstChild, getFirstExtensibilityElement, getLineNo, getNamespaceContext, getPath, getTextValue, getType, getURI, is11, is20Draft, isAttributeSet, rewriteTargetNS, setURI, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OnMessage(org.w3c.dom.Element el)
Method Detail |
---|
public java.lang.String getMessageExchangeId()
public Activity getActivity()
public java.lang.String getVariable()
public java.lang.String getOperation()
Communication
getOperation
in interface Communication
public java.lang.String getPartnerLink()
Communication
getPartnerLink
in interface Communication
public javax.xml.namespace.QName getPortType()
Communication
getPortType
in interface Communication
null
)public java.util.List<Correlation> getCorrelations()
getCorrelations
in interface Communication
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |