|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.bpel.compiler.v2.BaseCompiler
org.apache.ode.bpel.compiler.v2.BpelCompiler11
public class BpelCompiler11
BPEL v1.1 compiler.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.ode.bpel.compiler.BpelCompiler |
---|
BpelCompiler.Version |
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. |
Fields inherited from class org.apache.ode.bpel.compiler.v2.BaseCompiler |
---|
_oprocess |
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 context is running relative to. |
protected java.lang.String |
getBpwsNamespace()
|
CompileListener |
getCompileListener()
|
OActivity |
getCurrent()
|
protected java.lang.String |
getDefaultExpressionLanguage()
|
ExtensionValidator |
getExtensionValidator(javax.xml.namespace.QName extensionElementName)
|
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 |
isExtensionDeclared(java.lang.String namespace)
|
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 |
setExtensionValidators(java.util.Map<javax.xml.namespace.QName,ExtensionValidator> extensionValidators)
|
void |
setResourceFinder(ResourceFinder finder)
|
Methods inherited from class org.apache.ode.bpel.compiler.v2.BaseCompiler |
---|
getOdeNamespace, makeConstants |
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()
Method Detail |
---|
protected java.lang.String getBpwsNamespace()
getBpwsNamespace
in class BaseCompiler
protected java.lang.String getDefaultExpressionLanguage()
public void addWsdlImport(java.net.URI from, java.net.URI wsdlImport, SourceLocation sloc)
addWsdlImport
in interface BpelCompiler
public void addXsdImport(java.net.URI from, java.net.URI location, SourceLocation sloc)
public void setResourceFinder(ResourceFinder finder)
setResourceFinder
in interface BpelCompiler
public void setCompileListener(CompileListener compileListener)
setCompileListener
in interface BpelCompiler
public CompileListener getCompileListener()
public void setCustomProperties(java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> customProperties)
setCustomProperties
in interface BpelCompiler
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
compile
in interface BpelCompiler
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)
public void setExtensionValidators(java.util.Map<javax.xml.namespace.QName,ExtensionValidator> extensionValidators)
setExtensionValidators
in interface BpelCompiler
public boolean isExtensionDeclared(java.lang.String namespace)
isExtensionDeclared
in interface CompilerContext
public ExtensionValidator getExtensionValidator(javax.xml.namespace.QName extensionElementName)
getExtensionValidator
in interface CompilerContext
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 BpelCompiler
getBaseResourceURI
in interface CompilerContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |