Examples of ParentScopeChannel


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

            if (!((OScope)_self.o).inboundMessageChildActivity) {
              getBpelRuntime().forceFlush();
            }
            instance(new SLEEPER());
                ValChannel linkInterceptorControl = newChannel(ValChannel.class);
                ParentScopeChannel psc = newChannel(ParentScopeChannel.class);
                linkframe = createInterceptorLinkFrame();
                if (!_self.o.outgoingLinks.isEmpty()) {
                  instance(new LINKSTATUSINTERCEPTOR(linkInterceptorControl, linkframe));
                }
                instance(new UNLOCKER(psc, _self.parent, null, Collections.<IsolationLock>emptyList(), linkInterceptorControl));
View Full Code Here

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

                ScopeFrame newFrame = new ScopeFrame((OScope) _self.o, getBpelRuntime().createScopeInstance(
                        _scopeFrame.scopeInstanceId, (OScope) _self.o), _scopeFrame, null);

               
                final ParentScopeChannel parent = _self.parent;
                _self.parent = newChannel(ParentScopeChannel.class);
                ValChannel lsi = newChannel(ValChannel.class);
                instance(new UNLOCKER(_self.parent, parent, _synchChannel, _locksAcquired, lsi));
                LinkFrame linkframe = createInterceptorLinkFrame();
                instance(new LINKSTATUSINTERCEPTOR(lsi,linkframe));
View Full Code Here

Examples of org.apache.ode.bpel.runtime.channels.ParentScopeChannel

            // Depending on whether we are ATOMIC or not, we'll need to create outgoing link status interceptors
            LinkFrame linkframe;
            if (((OScope) _self.o).atomicScope && !_self.o.outgoingLinks.isEmpty()) {
                ValChannel linkInterceptorControl = newChannel(ValChannel.class);
                ParentScopeChannel psc = newChannel(ParentScopeChannel.class);
                linkframe = createInterceptorLinkFrame();
                instance(new LINKSTATUSINTERCEPTOR(linkInterceptorControl,linkframe));
                instance(new UNLOCKER(psc, _self.parent, null, Collections.<IsolationLock>emptyList(), linkInterceptorControl));
                _self.parent = psc;
            } else
View Full Code Here

Examples of org.apache.ode.bpel.runtime.channels.ParentScopeChannel

                ScopeFrame newFrame = new ScopeFrame((OScope) _self.o, getBpelRuntimeContext().createScopeInstance(
                        _scopeFrame.scopeInstanceId, (OScope) _self.o), _scopeFrame, null);

               
                final ParentScopeChannel parent = _self.parent;
                _self.parent = newChannel(ParentScopeChannel.class);
                ValChannel lsi = newChannel(ValChannel.class);
                instance(new UNLOCKER(_self.parent, parent, _synchChannel, _locksAcquired, lsi));
                LinkFrame linkframe = createInterceptorLinkFrame();
                instance(new LINKSTATUSINTERCEPTOR(lsi,linkframe));
View Full Code Here

Examples of org.apache.ode.bpel.runtime.channels.ParentScopeChannel

    public void completeExtensionActivity(final String channelId, final FaultData faultData) {
        _vpu.inject(new JacobRunnable() {
      private static final long serialVersionUID = 5198590543947804763L;

            public void run() {
                ParentScopeChannel channel = importChannel(channelId, ParentScopeChannel.class);
                if (channel == null) {
                  throw new RuntimeException("Could not resolve channel ID (" + channelId + ") for extension activity.");
                }
                channel.completed(faultData, CompensationHandler.emptySet());
            }
        });
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.