|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.bpel.compiler.BpelCompiler11
public class BpelCompiler11
BPEL v1.1 compiler.
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
__log
Class-severity logger. |
static java.lang.String |
EXPLANG_XPATH
URI for the XPath 1.0 expression language. |
Constructor Summary | |
---|---|
BpelCompiler11()
|
Method Summary | |
---|---|
void |
addWsdlImport(java.net.URI from,
java.net.URI wsdlImport,
SourceLocation sloc)
|
void |
addXsdImport(java.net.URI from,
java.net.URI location,
SourceLocation sloc)
|
OActivity |
compile(Activity source)
|
void |
compile(OActivity context,
BpelObject source,
java.lang.Runnable run)
|
OProcess |
compile(Process process,
ResourceFinder rf)
Compile a process. |
OExpression |
compileExpr(Expression expression)
|
OExpression |
compileExpr(java.lang.String expr,
NSContext nc)
BPEL 1.1 legacy. |
OExpression |
compileJoinCondition(Expression expression)
|
OLValueExpression |
compileLValueExpr(Expression expression)
|
OScope |
compileSLC(ScopeLikeActivity source,
OScope.Variable[] variables)
|
OXslSheet |
compileXslt(java.lang.String docStrUri)
|
OExpression |
constantExpr(boolean value)
Produce a boolean OExpression expression that returns a constant
value. |
java.util.List<OScope.Variable> |
getAccessibleVariables()
|
java.util.List<OActivity> |
getActivityStack()
|
java.net.URI |
getBaseResourceURI()
Retrieves the base URI that the BPEL Process execution contextis running relative to. |
protected java.lang.String |
getBpwsNamespace()
|
CompileListener |
getCompileListener()
|
OActivity |
getCurrent()
|
protected java.lang.String |
getDefaultExpressionLanguage()
|
OProcess |
getOProcess()
|
Process |
getProcessDef()
Get the process definition. |
java.util.Map<java.net.URI,javax.xml.transform.Source> |
getSchemaSources()
|
java.lang.String |
getSourceLocation()
|
javax.wsdl.Definition[] |
getWsdlDefinitions()
|
boolean |
isPartnerLinkAssigned(java.lang.String plink)
|
void |
recoveredFromError(SourceLocation where,
CompilationException bce)
|
protected void |
registerActivityCompiler(java.lang.Class defClass,
ActivityGenerator generator)
|
protected void |
registerExpressionLanguage(java.lang.String expLangUri,
ExpressionCompiler expressionCompiler)
|
protected void |
registerExpressionLanguage(java.lang.String expLangUri,
java.lang.String classname)
|
OScope |
resolveCompensatableScope(java.lang.String scopeToCompensate)
|
OScope.CorrelationSet |
resolveCorrelationSet(java.lang.String csetName)
|
OMessageVarType.Part |
resolveHeaderPart(OScope.Variable var,
java.lang.String partname)
|
OLink |
resolveLink(java.lang.String linkName)
|
OMessageVarType |
resolveMessageType(javax.xml.namespace.QName messageType)
|
OScope.Variable |
resolveMessageVariable(java.lang.String inputVar)
|
OScope.Variable |
resolveMessageVariable(java.lang.String inputVar,
javax.xml.namespace.QName messageType)
|
javax.wsdl.Operation |
resolveMyRoleOperation(OPartnerLink partnerLink,
java.lang.String operationName)
|
OMessageVarType.Part |
resolvePart(OScope.Variable var,
java.lang.String partname)
|
OPartnerLink |
resolvePartnerLink(java.lang.String name)
|
PartnerLinkType |
resolvePartnerLinkType(javax.xml.namespace.QName partnerLinkType)
|
javax.wsdl.Operation |
resolvePartnerRoleOperation(OPartnerLink partnerLink,
java.lang.String operationName)
|
javax.wsdl.PortType |
resolvePortType(javax.xml.namespace.QName portTypeName)
|
OProcess.OProperty |
resolveProperty(javax.xml.namespace.QName name)
|
OProcess.OPropertyAlias |
resolvePropertyAlias(OScope.Variable variable,
javax.xml.namespace.QName propertyName)
|
OScope.Variable |
resolveVariable(java.lang.String varName)
|
OXsdTypeVarType |
resolveXsdType(javax.xml.namespace.QName typeName)
|
void |
setCompileListener(CompileListener compileListener)
|
void |
setCustomProperties(java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> customProperties)
|
void |
setResourceFinder(ResourceFinder finder)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EXPLANG_XPATH
protected static final org.apache.commons.logging.Log __log
Constructor Detail |
---|
public BpelCompiler11() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
protected java.lang.String getBpwsNamespace()
protected java.lang.String getDefaultExpressionLanguage()
public void addWsdlImport(java.net.URI from, java.net.URI wsdlImport, SourceLocation sloc)
public void addXsdImport(java.net.URI from, java.net.URI location, SourceLocation sloc)
public void setResourceFinder(ResourceFinder finder)
public void setCompileListener(CompileListener compileListener)
public CompileListener getCompileListener()
public void setCustomProperties(java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> customProperties)
public Process getProcessDef()
public javax.wsdl.PortType resolvePortType(javax.xml.namespace.QName portTypeName)
public OLink resolveLink(java.lang.String linkName)
resolveLink
in interface CompilerContext
public OScope.Variable resolveVariable(java.lang.String varName)
resolveVariable
in interface CompilerContext
public java.util.List<OScope.Variable> getAccessibleVariables()
getAccessibleVariables
in interface CompilerContext
public OScope.Variable resolveMessageVariable(java.lang.String inputVar) throws CompilationException
resolveMessageVariable
in interface CompilerContext
CompilationException
public OScope.Variable resolveMessageVariable(java.lang.String inputVar, javax.xml.namespace.QName messageType) throws CompilationException
resolveMessageVariable
in interface CompilerContext
CompilationException
public OProcess.OProperty resolveProperty(javax.xml.namespace.QName name)
resolveProperty
in interface CompilerContext
public OProcess.OPropertyAlias resolvePropertyAlias(OScope.Variable variable, javax.xml.namespace.QName propertyName)
resolvePropertyAlias
in interface CompilerContext
public OScope resolveCompensatableScope(java.lang.String scopeToCompensate) throws CompilationException
resolveCompensatableScope
in interface CompilerContext
CompilationException
public java.lang.String getSourceLocation()
getSourceLocation
in interface CompilerContext
public OScope.CorrelationSet resolveCorrelationSet(java.lang.String csetName)
resolveCorrelationSet
in interface CompilerContext
public OMessageVarType resolveMessageType(javax.xml.namespace.QName messageType)
public OXsdTypeVarType resolveXsdType(javax.xml.namespace.QName typeName) throws CompilationException
resolveXsdType
in interface CompilerContext
CompilationException
public OMessageVarType.Part resolvePart(OScope.Variable var, java.lang.String partname)
resolvePart
in interface CompilerContext
public OMessageVarType.Part resolveHeaderPart(OScope.Variable var, java.lang.String partname)
resolveHeaderPart
in interface CompilerContext
public PartnerLinkType resolvePartnerLinkType(javax.xml.namespace.QName partnerLinkType)
public OPartnerLink resolvePartnerLink(java.lang.String name)
resolvePartnerLink
in interface CompilerContext
public javax.wsdl.Operation resolvePartnerRoleOperation(OPartnerLink partnerLink, java.lang.String operationName)
resolvePartnerRoleOperation
in interface CompilerContext
public javax.wsdl.Operation resolveMyRoleOperation(OPartnerLink partnerLink, java.lang.String operationName)
resolveMyRoleOperation
in interface CompilerContext
public OExpression constantExpr(boolean value)
OExpression
expression that returns a constant
value.
constantExpr
in interface CompilerContext
value
- constant value to return
OExpression
returning a constant value.public OLValueExpression compileLValueExpr(Expression expression) throws CompilationException
compileLValueExpr
in interface CompilerContext
CompilationException
public OExpression compileJoinCondition(Expression expression) throws CompilationException
compileJoinCondition
in interface CompilerContext
CompilationException
public OExpression compileExpr(Expression expression) throws CompilationException
compileExpr
in interface CompilerContext
CompilationException
public OExpression compileExpr(java.lang.String expr, NSContext nc)
CompilerContext
compileExpr
in interface CompilerContext
public OProcess getOProcess() throws CompilationException
getOProcess
in interface CompilerContext
CompilationException
public void recoveredFromError(SourceLocation where, CompilationException bce) throws CompilationException
recoveredFromError
in interface CompilerContext
CompilationException
public OProcess compile(Process process, ResourceFinder rf) throws CompilationException
CompilationException
public OActivity compile(Activity source)
compile
in interface CompilerContext
public OScope compileSLC(ScopeLikeActivity source, OScope.Variable[] variables)
compileSLC
in interface CompilerContext
public OActivity getCurrent()
getCurrent
in interface CompilerContext
public void compile(OActivity context, BpelObject source, java.lang.Runnable run)
public OXslSheet compileXslt(java.lang.String docStrUri) throws CompilationException
compileXslt
in interface CompilerContext
CompilationException
public boolean isPartnerLinkAssigned(java.lang.String plink)
isPartnerLinkAssigned
in interface CompilerContext
public javax.wsdl.Definition[] getWsdlDefinitions()
protected void registerActivityCompiler(java.lang.Class defClass, ActivityGenerator generator)
protected void registerExpressionLanguage(java.lang.String expLangUri, ExpressionCompiler expressionCompiler)
protected void registerExpressionLanguage(java.lang.String expLangUri, java.lang.String classname) throws java.lang.Exception
java.lang.Exception
public java.util.List<OActivity> getActivityStack()
getActivityStack
in interface CompilerContext
public java.util.Map<java.net.URI,javax.xml.transform.Source> getSchemaSources()
getSchemaSources
in interface CompilerContext
public java.net.URI getBaseResourceURI()
getBaseResourceURI
in interface CompilerContext
java.io.IOException
java.net.MalformedURLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |