public class ExprEvaluationContextImpl extends java.lang.Object implements EvaluationContext
OExpression instances to provide access to
variables, link statuses, and the like.| Constructor and Description |
|---|
ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstace,
BpelRuntimeContext ntv) |
ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstnce,
BpelRuntimeContext ntv,
java.util.Map<OLink,java.lang.Boolean> linkVals) |
ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstace,
BpelRuntimeContext ntv,
org.w3c.dom.Node root) |
| 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.
|
java.lang.String |
toString() |
public ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstace,
BpelRuntimeContext ntv)
public ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstace,
BpelRuntimeContext ntv,
org.w3c.dom.Node root)
public ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstnce,
BpelRuntimeContext ntv,
java.util.Map<OLink,java.lang.Boolean> linkVals)
public org.w3c.dom.Node readVariable(OScope.Variable variable, OMessageVarType.Part part) throws FaultException
EvaluationContextreadVariable in interface EvaluationContextvariable - variable to readpart - the part (or null)NodeFaultExceptionpublic org.w3c.dom.Node evaluateQuery(org.w3c.dom.Node root,
OExpression expr)
throws FaultException,
EvaluationException
EvaluationContextevaluateQuery in interface EvaluationContextroot - the root contextexpr - the query expressionFaultExceptionEvaluationExceptionpublic java.lang.String readMessageProperty(OScope.Variable variable, OProcess.OProperty property) throws FaultException
EvaluationContextreadMessageProperty in interface EvaluationContextvariable - variable containing propertyproperty - property to readFaultExceptionpublic boolean isLinkActive(OLink olink) throws FaultException
EvaluationContextisLinkActive in interface EvaluationContextolink - link to checktrue if the link is active, false
otherwise.FaultExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic org.w3c.dom.Node getRootNode()
EvaluationContextgetRootNode in interface EvaluationContextpublic org.w3c.dom.Node getPartData(org.w3c.dom.Element message,
OMessageVarType.Part part)
throws FaultException
getPartData in interface EvaluationContextFaultExceptionpublic java.lang.Long getProcessId()
EvaluationContextgetProcessId in interface EvaluationContextpublic boolean narrowTypes()
EvaluationContextnarrowTypes in interface EvaluationContextpublic java.net.URI getBaseResourceURI()
EvaluationContextgetBaseResourceURI in interface EvaluationContextpublic org.w3c.dom.Node getPropertyValue(javax.xml.namespace.QName propertyName)
EvaluationContextgetPropertyValue in interface EvaluationContextpublic javax.xml.namespace.QName getProcessQName()
EvaluationContextgetProcessQName in interface EvaluationContextpublic java.util.Date getCurrentEventDateTime()
getCurrentEventDateTime in interface EvaluationContext