public interface EvaluationContext
ExpressionLanguageRuntime
interface use this interface to access BPEL
variables, property sets and link statuses.Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Node |
evaluateQuery(org.w3c.dom.Node root,
OExpression expr)
Evaluate a query expression.
|
java.net.URI |
getBaseResourceURI()
Retrieves the base URI that the BPEL Process execution contextis running relative to.
|
java.util.Date |
getCurrentEventDateTime() |
org.w3c.dom.Node |
getPartData(org.w3c.dom.Element message,
OMessageVarType.Part part) |
java.lang.Long |
getProcessId()
Reads the current process instance id.
|
javax.xml.namespace.QName |
getProcessQName()
Reads the current process's name.
|
org.w3c.dom.Node |
getPropertyValue(javax.xml.namespace.QName propertyName)
Retrieves the property value that has been defined for this BPEL Process type.
|
org.w3c.dom.Node |
getRootNode()
Obtain the root node.
|
boolean |
isLinkActive(OLink olink)
Obtain the status of a control link.
|
boolean |
narrowTypes()
Indicates whether simple types should be narrowed to a Java type when
using this evaluation context.
|
java.lang.String |
readMessageProperty(OScope.Variable variable,
OProcess.OProperty property)
Read the value of a BPEL property.
|
org.w3c.dom.Node |
readVariable(OScope.Variable variable,
OMessageVarType.Part part)
Read the value of a BPEL variable.
|
org.w3c.dom.Node readVariable(OScope.Variable variable, OMessageVarType.Part part) throws FaultException
variable
- variable to readpart
- the part (or null
)Node
FaultException
org.w3c.dom.Node getPartData(org.w3c.dom.Element message, OMessageVarType.Part part) throws FaultException
FaultException
java.lang.String readMessageProperty(OScope.Variable variable, OProcess.OProperty property) throws FaultException
variable
- variable containing propertyproperty
- property to readFaultException
boolean isLinkActive(OLink olink) throws FaultException
olink
- link to checktrue
if the link is active, false
otherwise.FaultException
org.w3c.dom.Node getRootNode()
org.w3c.dom.Node evaluateQuery(org.w3c.dom.Node root, OExpression expr) throws FaultException, EvaluationException
root
- the root contextexpr
- the query expressionFaultException
EvaluationException
java.lang.Long getProcessId()
javax.xml.namespace.QName getProcessQName()
boolean narrowTypes()
java.net.URI getBaseResourceURI()
org.w3c.dom.Node getPropertyValue(javax.xml.namespace.QName propertyName)
java.util.Date getCurrentEventDateTime()