Package org.apache.ode.bpel.rtrep.v2.channels

Examples of org.apache.ode.bpel.rtrep.v2.channels.TerminationChannelListener


public abstract class BaseCompiler {

    protected OProcess _oprocess;

    protected OConstants makeConstants() {
        OConstants constants = new OConstants(_oprocess);
        constants.qnConflictingReceive = new QName(getBpwsNamespace(), "conflictingReceive");
        constants.qnCorrelationViolation = new QName(getBpwsNamespace(), "correlationViolation");
        constants.qnForcedTermination = new QName(getBpwsNamespace(), "forcedTermination");
        constants.qnJoinFailure = new QName(getBpwsNamespace(), "joinFailure");
        constants.qnMismatchedAssignmentFailure = new QName(getBpwsNamespace(), "mismatchedAssignment");
View Full Code Here


        }
        return result;
    }

    private OElementVarType resolveElementType(QName faultVariableElementType) {
        OElementVarType type = _oprocess.elementTypes.get(faultVariableElementType);
        if (type == null) {
            type = new OElementVarType(_oprocess, faultVariableElementType);
            _oprocess.elementTypes.put(faultVariableElementType, type);
        }
        return type;
    }
View Full Code Here

                            recoveredFromError(plink, ce);
                        }
                    }

                    if (!src.getEvents().isEmpty() || !src.getAlarms().isEmpty()) {
                        oscope.eventHandler = new OEventHandler(_oprocess);
                        oscope.eventHandler.debugInfo = createDebugInfo(src, "Event Handler for " + src);
                    }

                    for (OnEvent onEvent : src.getEvents()) {
                        try {
View Full Code Here

            String partname = params.size() > 1 ? (String) params.get(1) : null;
            String locationstr = params.size() > 2 ? (String) params.get(2) : null;

            OScope.Variable var = _cctx.resolveVariable(varname);
            OMessageVarType.Part part = partname != null ? _cctx.resolvePart(var, partname) : null;
            OExpression location = null;
            if (locationstr != null) {
                location = _cctx.compileExpr(locationstr, _nsContext);
            }

            _out.addGetVariableDataSig(varname, partname, locationstr, new OXPath10Expression.OSigGetVariableData(
View Full Code Here

        String expLang = getExpressionLanguage(expression);
        ExpressionCompiler ec = findExpLangCompiler(expLang);
        ec.setCompilerContext(this);

        try {
            OExpression oexpr = (isJoinCondition) ? ec.compileJoinCondition(expression) : ec.compile(expression);

            oexpr.debugInfo = createDebugInfo(expression, expression.toString());

            OExpressionLanguage expLanguage = _expLanguages.get(expLang);
            if (expLanguage == null) {
View Full Code Here

        try {
            OExpression oexpr = (isJoinCondition) ? ec.compileJoinCondition(expression) : ec.compile(expression);

            oexpr.debugInfo = createDebugInfo(expression, expression.toString());

            OExpressionLanguage expLanguage = _expLanguages.get(expLang);
            if (expLanguage == null) {
                expLanguage = new OExpressionLanguage(_oprocess, ec.getProperties());
                expLanguage.debugInfo = createDebugInfo(_processDef, "Expression Language: " + expLang);
                expLanguage.expressionLanguageUri = expLang;
                _expLanguages.put(expLang, expLanguage);
                _oprocess.expressionLanguages.add(expLanguage);
            }
View Full Code Here

          _oprocess.atomicScope = _processDef.getAtomicScope().booleanValue();
        }

        _oprocess.compileDate = _generatedDate;

        _konstExprLang = new OExpressionLanguage(_oprocess, null);
        _konstExprLang.debugInfo = createDebugInfo(_processDef, "Constant Value Expression Language");
        _konstExprLang.expressionLanguageUri = "uri:www.fivesight.com/konstExpression";
        _konstExprLang.properties.put("runtime-class",
                "org.apache.ode.bpel.rtrep.v2.KonstExpressionLanguageRuntimeImpl");
        _oprocess.expressionLanguages.add(_konstExprLang);
View Full Code Here

     */
    private OExtVar compileExtVar(Variable src) {
        if (!src.isExternal())
            return null;

        OExtVar oextvar = new OExtVar(_oprocess);
        oextvar.externalVariableId = src.getExternalId();
        oextvar.debugInfo = createDebugInfo(src, null);

        if (src.getExternalId() == null)
          throw new CompilationException(__cmsgs.errMustSpecifyExternalVariableId(src.getName()));
View Full Code Here

    private static final ExtensionActivityGeneratorMessages __cmsgs =
        MessageBundle.getMessages(ExtensionActivityGeneratorMessages.class);
   
    public void compile(OActivity output, Activity srcx) {
        ExtensionActivity src = (ExtensionActivity) srcx;
        OExtensionActivity oactivity = (OExtensionActivity) output;
        Element child = src.getFirstExtensibilityElement();
        try {
          if (child == null) {
            throw new CompilationException(__cmsgs.errMissingExtensionActivityElement());
          }
View Full Code Here

          _context.recoveredFromError(src, e);
    }
    }

    public OActivity newInstance(Activity src) {
        return new OExtensionActivity(_context.getOProcess(), _context.getCurrent());
    }
View Full Code Here

TOP

Related Classes of org.apache.ode.bpel.rtrep.v2.channels.TerminationChannelListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.