org.apache.ode.bpel.compiler.api
Interface CompilerContext

All Known Implementing Classes:
BpelCompiler, BpelCompiler11, BpelCompiler20, BpelCompiler20Draft

public interface CompilerContext

Interface providing access to the compiler.


Method Summary
 org.apache.ode.bpel.o.OActivity compile(Activity child)
           
 org.apache.ode.bpel.o.OExpression compileExpr(Expression expr)
           
 org.apache.ode.bpel.o.OExpression compileExpr(Expression expr, org.apache.ode.bpel.o.OVarType rootNodeType, java.lang.Object requestedResultType, java.lang.Object[] resultType)
           
 org.apache.ode.bpel.o.OExpression compileExpr(java.lang.String locationstr, org.apache.ode.utils.NSContext nsContext)
          BPEL 1.1 legacy.
 org.apache.ode.bpel.o.OExpression compileJoinCondition(Expression expr)
           
 org.apache.ode.bpel.o.OLValueExpression compileLValueExpr(Expression expr)
           
 org.apache.ode.bpel.o.OLValueExpression compileLValueExpr(Expression expr, org.apache.ode.bpel.o.OVarType rootNodeType, java.lang.Object requestedResultType, java.lang.Object[] resultType)
           
 org.apache.ode.bpel.o.OScope compileSLC(ScopeLikeActivity child, org.apache.ode.bpel.o.OScope.Variable[] variables)
           
 org.apache.ode.bpel.o.OXslSheet compileXslt(java.lang.String docStrUri)
           
 org.apache.ode.bpel.o.OExpression constantExpr(boolean value)
           
 java.util.List<org.apache.ode.bpel.o.OScope.Variable> getAccessibleVariables()
           
 java.util.List<org.apache.ode.bpel.o.OActivity> getActivityStack()
           
 java.net.URI getBaseResourceURI()
          Retrieves the base URI that the BPEL Process execution contextis running relative to.
 org.apache.ode.bpel.o.OActivity getCurrent()
           
 org.apache.ode.bpel.o.OProcess getOProcess()
           
 java.util.Map<java.net.URI,javax.xml.transform.Source> getSchemaSources()
           
 java.lang.String getSourceLocation()
           
 boolean isPartnerLinkAssigned(java.lang.String plink)
           
 void recoveredFromError(SourceLocation where, CompilationException bce)
           
 org.apache.ode.bpel.o.OScope resolveCompensatableScope(java.lang.String scopeToCompensate)
           
 org.apache.ode.bpel.o.OScope.CorrelationSet resolveCorrelationSet(java.lang.String csetName)
           
 org.apache.ode.bpel.o.OMessageVarType.Part resolveHeaderPart(org.apache.ode.bpel.o.OScope.Variable variable, java.lang.String partname)
           
 org.apache.ode.bpel.o.OLink resolveLink(java.lang.String linkName)
           
 org.apache.ode.bpel.o.OScope.Variable resolveMessageVariable(java.lang.String inputVar)
           
 org.apache.ode.bpel.o.OScope.Variable resolveMessageVariable(java.lang.String inputVar, javax.xml.namespace.QName messageType)
           
 javax.wsdl.Operation resolveMyRoleOperation(org.apache.ode.bpel.o.OPartnerLink partnerLink, java.lang.String operationName)
           
 org.apache.ode.bpel.o.OMessageVarType.Part resolvePart(org.apache.ode.bpel.o.OScope.Variable variable, java.lang.String partname)
           
 org.apache.ode.bpel.o.OPartnerLink resolvePartnerLink(java.lang.String name)
           
 javax.wsdl.Operation resolvePartnerRoleOperation(org.apache.ode.bpel.o.OPartnerLink partnerLink, java.lang.String operationName)
           
 org.apache.ode.bpel.o.OProcess.OProperty resolveProperty(javax.xml.namespace.QName name)
           
 org.apache.ode.bpel.o.OProcess.OPropertyAlias resolvePropertyAlias(org.apache.ode.bpel.o.OScope.Variable variable, javax.xml.namespace.QName property)
           
 org.apache.ode.bpel.o.OScope.Variable resolveVariable(java.lang.String name)
           
 org.apache.ode.bpel.o.OXsdTypeVarType resolveXsdType(javax.xml.namespace.QName typeName)
           
 

Method Detail

constantExpr

org.apache.ode.bpel.o.OExpression constantExpr(boolean value)

compileJoinCondition

org.apache.ode.bpel.o.OExpression compileJoinCondition(Expression expr)
                                                       throws CompilationException
Throws:
CompilationException

compileExpr

org.apache.ode.bpel.o.OExpression compileExpr(Expression expr)
                                              throws CompilationException
Throws:
CompilationException

compileExpr

org.apache.ode.bpel.o.OExpression compileExpr(Expression expr,
                                              org.apache.ode.bpel.o.OVarType rootNodeType,
                                              java.lang.Object requestedResultType,
                                              java.lang.Object[] resultType)
                                              throws CompilationException
Throws:
CompilationException

compileLValueExpr

org.apache.ode.bpel.o.OLValueExpression compileLValueExpr(Expression expr)
                                                          throws CompilationException
Throws:
CompilationException

compileLValueExpr

org.apache.ode.bpel.o.OLValueExpression compileLValueExpr(Expression expr,
                                                          org.apache.ode.bpel.o.OVarType rootNodeType,
                                                          java.lang.Object requestedResultType,
                                                          java.lang.Object[] resultType)
                                                          throws CompilationException
Throws:
CompilationException

compileExpr

org.apache.ode.bpel.o.OExpression compileExpr(java.lang.String locationstr,
                                              org.apache.ode.utils.NSContext nsContext)
                                              throws CompilationException
BPEL 1.1 legacy.

Parameters:
locationstr -
nsContext -
Returns:
Throws:
CompilationException

compileXslt

org.apache.ode.bpel.o.OXslSheet compileXslt(java.lang.String docStrUri)
                                            throws CompilationException
Throws:
CompilationException

resolveXsdType

org.apache.ode.bpel.o.OXsdTypeVarType resolveXsdType(javax.xml.namespace.QName typeName)
                                                     throws CompilationException
Throws:
CompilationException

resolveProperty

org.apache.ode.bpel.o.OProcess.OProperty resolveProperty(javax.xml.namespace.QName name)
                                                         throws CompilationException
Throws:
CompilationException

resolveVariable

org.apache.ode.bpel.o.OScope.Variable resolveVariable(java.lang.String name)
                                                      throws CompilationException
Throws:
CompilationException

getAccessibleVariables

java.util.List<org.apache.ode.bpel.o.OScope.Variable> getAccessibleVariables()

resolveMessageVariable

org.apache.ode.bpel.o.OScope.Variable resolveMessageVariable(java.lang.String inputVar)
                                                             throws CompilationException
Throws:
CompilationException

resolveMessageVariable

org.apache.ode.bpel.o.OScope.Variable resolveMessageVariable(java.lang.String inputVar,
                                                             javax.xml.namespace.QName messageType)
                                                             throws CompilationException
Throws:
CompilationException

resolvePart

org.apache.ode.bpel.o.OMessageVarType.Part resolvePart(org.apache.ode.bpel.o.OScope.Variable variable,
                                                       java.lang.String partname)
                                                       throws CompilationException
Throws:
CompilationException

resolveHeaderPart

org.apache.ode.bpel.o.OMessageVarType.Part resolveHeaderPart(org.apache.ode.bpel.o.OScope.Variable variable,
                                                             java.lang.String partname)
                                                             throws CompilationException
Throws:
CompilationException

compile

org.apache.ode.bpel.o.OActivity compile(Activity child)
                                        throws CompilationException
Throws:
CompilationException

compileSLC

org.apache.ode.bpel.o.OScope compileSLC(ScopeLikeActivity child,
                                        org.apache.ode.bpel.o.OScope.Variable[] variables)

resolvePartnerLink

org.apache.ode.bpel.o.OPartnerLink resolvePartnerLink(java.lang.String name)
                                                      throws CompilationException
Throws:
CompilationException

resolvePartnerRoleOperation

javax.wsdl.Operation resolvePartnerRoleOperation(org.apache.ode.bpel.o.OPartnerLink partnerLink,
                                                 java.lang.String operationName)
                                                 throws CompilationException
Throws:
CompilationException

resolveMyRoleOperation

javax.wsdl.Operation resolveMyRoleOperation(org.apache.ode.bpel.o.OPartnerLink partnerLink,
                                            java.lang.String operationName)
                                            throws CompilationException
Throws:
CompilationException

resolvePropertyAlias

org.apache.ode.bpel.o.OProcess.OPropertyAlias resolvePropertyAlias(org.apache.ode.bpel.o.OScope.Variable variable,
                                                                   javax.xml.namespace.QName property)
                                                                   throws CompilationException
Throws:
CompilationException

recoveredFromError

void recoveredFromError(SourceLocation where,
                        CompilationException bce)
                        throws CompilationException
Throws:
CompilationException

resolveLink

org.apache.ode.bpel.o.OLink resolveLink(java.lang.String linkName)
                                        throws CompilationException
Throws:
CompilationException

resolveCompensatableScope

org.apache.ode.bpel.o.OScope resolveCompensatableScope(java.lang.String scopeToCompensate)
                                                       throws CompilationException
Throws:
CompilationException

getOProcess

org.apache.ode.bpel.o.OProcess getOProcess()
                                           throws CompilationException
Throws:
CompilationException

resolveCorrelationSet

org.apache.ode.bpel.o.OScope.CorrelationSet resolveCorrelationSet(java.lang.String csetName)
                                                                  throws CompilationException
Throws:
CompilationException

getSourceLocation

java.lang.String getSourceLocation()

isPartnerLinkAssigned

boolean isPartnerLinkAssigned(java.lang.String plink)

getActivityStack

java.util.List<org.apache.ode.bpel.o.OActivity> getActivityStack()

getCurrent

org.apache.ode.bpel.o.OActivity getCurrent()

getSchemaSources

java.util.Map<java.net.URI,javax.xml.transform.Source> getSchemaSources()

getBaseResourceURI

java.net.URI getBaseResourceURI()
Retrieves the base URI that the BPEL Process execution contextis running relative to.

Returns:
URI - the URI representing the absolute physical file path location that this process is defined within.