|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.bpel.rtrep.v2.BoundVariableEvaluationContext
public class BoundVariableEvaluationContext
Expression language evaluation context used for expressions referencing a predefined variable bound to a given value. Used for correlation matching based on a message value extraction function (i.e. SimPEL+JS).
| Constructor Summary | |
|---|---|
BoundVariableEvaluationContext()
|
|
| Method Summary | |
|---|---|
void |
addBoundVariable(java.lang.String name,
org.w3c.dom.Element value)
|
org.w3c.dom.Node |
evaluateQuery(org.w3c.dom.Node root,
OExpression expr)
Evaluate a query expression. |
java.net.URI |
getBaseResourceURI()
|
org.w3c.dom.Node |
getPartData(org.w3c.dom.Element message,
OMessageVarType.Part part)
|
java.lang.Long |
getProcessId()
Reads the current process instance id. |
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 partDef)
Read the value of a BPEL variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoundVariableEvaluationContext()
| Method Detail |
|---|
public void addBoundVariable(java.lang.String name,
org.w3c.dom.Element value)
public org.w3c.dom.Node readVariable(OScope.Variable variable,
OMessageVarType.Part partDef)
throws FaultException
EvaluationContext
readVariable in interface EvaluationContextvariable - variable to readpartDef - the part (or null)
Node
FaultException
public org.w3c.dom.Node getPartData(org.w3c.dom.Element message,
OMessageVarType.Part part)
throws FaultException
getPartData in interface EvaluationContextFaultException
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 org.w3c.dom.Node getRootNode()
EvaluationContext
getRootNode in interface EvaluationContext
public org.w3c.dom.Node evaluateQuery(org.w3c.dom.Node root,
OExpression expr)
throws FaultException
EvaluationContext
evaluateQuery in interface EvaluationContextroot - the root contextexpr - the query expression
FaultExceptionpublic java.lang.Long getProcessId()
EvaluationContext
getProcessId in interface EvaluationContextpublic boolean narrowTypes()
EvaluationContext
narrowTypes in interface EvaluationContextpublic java.net.URI getBaseResourceURI()
getBaseResourceURI in interface EvaluationContextpublic org.w3c.dom.Node getPropertyValue(javax.xml.namespace.QName propertyName)
EvaluationContext
getPropertyValue in interface EvaluationContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||