|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.bpel.runtime.ExprEvaluationContextImpl
public class ExprEvaluationContextImpl
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.
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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. |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public org.w3c.dom.Node readVariable(OScope.Variable variable,
OMessageVarType.Part part)
throws FaultException
EvaluationContext
readVariable in interface EvaluationContextvariable - variable to readpart - the part (or null)
Node
FaultException
public org.w3c.dom.Node evaluateQuery(org.w3c.dom.Node root,
OExpression expr)
throws FaultException,
EvaluationException
EvaluationContext
evaluateQuery in interface EvaluationContextroot - the root contextexpr - the query expression
FaultException
EvaluationException
public java.lang.String readMessageProperty(OScope.Variable variable,
OProcess.OProperty property)
throws FaultException
EvaluationContext
readMessageProperty in interface EvaluationContextvariable - variable containing propertyproperty - property to read
FaultException
public boolean isLinkActive(OLink olink)
throws FaultException
EvaluationContext
isLinkActive in interface EvaluationContextolink - link to check
true if the link is active, false
otherwise.
FaultExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic org.w3c.dom.Node getRootNode()
EvaluationContext
getRootNode in interface EvaluationContext
public org.w3c.dom.Node getPartData(org.w3c.dom.Element message,
OMessageVarType.Part part)
throws FaultException
getPartData in interface EvaluationContextFaultExceptionpublic java.lang.Long getProcessId()
EvaluationContext
getProcessId in interface EvaluationContextpublic boolean narrowTypes()
EvaluationContext
narrowTypes in interface EvaluationContextpublic java.net.URI getBaseResourceURI()
EvaluationContext
getBaseResourceURI in interface EvaluationContextpublic org.w3c.dom.Node getPropertyValue(javax.xml.namespace.QName propertyName)
EvaluationContext
getPropertyValue in interface EvaluationContextpublic javax.xml.namespace.QName getProcessQName()
EvaluationContext
getProcessQName in interface EvaluationContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||