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

Examples of org.apache.ode.bpel.rtrep.v2.OActivity


          _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

        // 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 (Iterator<OLink> i = oflow.localLinks.iterator(); i.hasNext(); ) {
            OLink olink = i.next();
View Full Code Here

          }
    }


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

class InvokeGenerator extends DefaultActivityGenerator {

    private static final InvokeGeneratorMessages __imsgs = MessageBundle.getMessages(InvokeGeneratorMessages.class);

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

        return new OInvoke(_context.getOProcess(), _context.getCurrent());
    }

    public void compile(OActivity output, Activity srcx) {
        InvokeActivity src = (InvokeActivity) srcx;
        OInvoke oinvoke = (OInvoke) output;

        oinvoke.partnerLink = _context.resolvePartnerLink(src.getPartnerLink());
        oinvoke.operation = _context.resolvePartnerRoleOperation(oinvoke.partnerLink, src.getOperation());
        assert oinvoke.operation.getInput() != null; // ensured by reolvePartnerRoleOperation
        assert oinvoke.operation.getInput().getMessage() != null; // ensured by resolvePartnerRoleOperation
View Full Code Here

TOP

Related Classes of org.apache.ode.bpel.rtrep.v2.OActivity

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.