org.apache.ode.bpel.runtime
Class ExprEvaluationContextImpl
java.lang.Object
org.apache.ode.bpel.runtime.ExprEvaluationContextImpl
- All Implemented Interfaces:
- org.apache.ode.bpel.explang.EvaluationContext
public class ExprEvaluationContextImpl
- extends java.lang.Object
- implements org.apache.ode.bpel.explang.EvaluationContext
The context in which BPEL expressions are evaluated. This class is handed of
the OExpression instances to provide access to
variables, link statuses, and the like.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExprEvaluationContextImpl
public ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstace,
BpelRuntimeContext ntv)
ExprEvaluationContextImpl
public ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstace,
BpelRuntimeContext ntv,
org.w3c.dom.Node root)
ExprEvaluationContextImpl
public ExprEvaluationContextImpl(org.apache.ode.bpel.runtime.ScopeFrame scopeInstnce,
BpelRuntimeContext ntv,
java.util.Map<org.apache.ode.bpel.o.OLink,java.lang.Boolean> linkVals)
readVariable
public org.w3c.dom.Node readVariable(org.apache.ode.bpel.o.OScope.Variable variable,
org.apache.ode.bpel.o.OMessageVarType.Part part)
throws org.apache.ode.bpel.common.FaultException
- Specified by:
readVariable in interface org.apache.ode.bpel.explang.EvaluationContext
- Throws:
org.apache.ode.bpel.common.FaultException
evaluateQuery
public org.w3c.dom.Node evaluateQuery(org.w3c.dom.Node root,
org.apache.ode.bpel.o.OExpression expr)
throws org.apache.ode.bpel.common.FaultException,
org.apache.ode.bpel.explang.EvaluationException
- Specified by:
evaluateQuery in interface org.apache.ode.bpel.explang.EvaluationContext
- Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
readMessageProperty
public java.lang.String readMessageProperty(org.apache.ode.bpel.o.OScope.Variable variable,
org.apache.ode.bpel.o.OProcess.OProperty property)
throws org.apache.ode.bpel.common.FaultException
- Specified by:
readMessageProperty in interface org.apache.ode.bpel.explang.EvaluationContext
- Throws:
org.apache.ode.bpel.common.FaultException
isLinkActive
public boolean isLinkActive(org.apache.ode.bpel.o.OLink olink)
throws org.apache.ode.bpel.common.FaultException
- Specified by:
isLinkActive in interface org.apache.ode.bpel.explang.EvaluationContext
- Throws:
org.apache.ode.bpel.common.FaultException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getRootNode
public org.w3c.dom.Node getRootNode()
- Specified by:
getRootNode in interface org.apache.ode.bpel.explang.EvaluationContext
getPartData
public org.w3c.dom.Node getPartData(org.w3c.dom.Element message,
org.apache.ode.bpel.o.OMessageVarType.Part part)
throws org.apache.ode.bpel.common.FaultException
- Specified by:
getPartData in interface org.apache.ode.bpel.explang.EvaluationContext
- Throws:
org.apache.ode.bpel.common.FaultException
getProcessId
public java.lang.Long getProcessId()
- Specified by:
getProcessId in interface org.apache.ode.bpel.explang.EvaluationContext
narrowTypes
public boolean narrowTypes()
- Specified by:
narrowTypes in interface org.apache.ode.bpel.explang.EvaluationContext
getBaseResourceURI
public java.net.URI getBaseResourceURI()
- Specified by:
getBaseResourceURI in interface org.apache.ode.bpel.explang.EvaluationContext
getPropertyValue
public org.w3c.dom.Node getPropertyValue(javax.xml.namespace.QName propertyName)
- Specified by:
getPropertyValue in interface org.apache.ode.bpel.explang.EvaluationContext
getProcessQName
public javax.xml.namespace.QName getProcessQName()
- Specified by:
getProcessQName in interface org.apache.ode.bpel.explang.EvaluationContext
getCurrentEventDateTime
public java.util.Date getCurrentEventDateTime()
- Specified by:
getCurrentEventDateTime in interface org.apache.ode.bpel.explang.EvaluationContext