Package org.apache.ode.bpel.rtrep.v1

Examples of org.apache.ode.bpel.rtrep.v1.OReply


            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.processName = _processDef.getName();
        }
       
        _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.v1.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

        // Failure handling extensibility element.
        Element element = src.getExtensibilityElement(ExtensibilityQNames.FAILURE_HANDLING);
        if (element == null)
            return;
        FailureHandling extElement = new FailureHandling(element);
        OFailureHandling obj = new OFailureHandling();
        obj.retryFor = extElement.getRetryFor();
        obj.retryDelay = extElement.getRetryDelay();
        obj.faultOnFailure = extElement.getFaultOnFailure();
        output.setFailureHandling(obj);
    }
View Full Code Here

        }
    }

    private void compile(FaultHandler fh) {
        OScope oscope = _structureStack.topScope();
        oscope.faultHandler = new OFaultHandler(_oprocess);
        if (fh == null) {
            // The default fault handler compensates all child activities
            // AND then rethrows the fault!
            final OCatch defaultCatch = new OCatch(_oprocess, oscope);
            defaultCatch.name = "__defaultFaultHandler:" + oscope.name;
View Full Code Here

class FlowGenerator extends DefaultActivityGenerator {
    private static final FlowGeneratorMessages __cmsgs = MessageBundle.getMessages(FlowGeneratorMessages.class);

    public void compile(OActivity output, Activity src) {
        FlowActivity flowAct = (FlowActivity)src;
        OFlow oflow = (OFlow) output;
        compileLinkDecls(oflow, flowAct);
        compileChildren(oflow, flowAct);

        for (OLink olink : oflow.localLinks) {
            try {
View Full Code Here

        }
    }


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

    private static final Log __log = LogFactory.getLog(AssignGenerator.class);
    private static final ForEachGeneratorMessages __cmsgs = MessageBundle.getMessages(ForEachGeneratorMessages.class);

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

TOP

Related Classes of org.apache.ode.bpel.rtrep.v1.OReply

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.