Examples of TerminationChannelListener


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

                            _self.parent.failure(reason, null);
                        }
                        getBpelRuntime().releasePartnerMex(mexId);
                    }

                }.or(new TerminationChannelListener(_self.self) {
                    private static final long serialVersionUID = 4219496341785922396L;

                    public void terminate() {
                      _self.parent.completed(null, CompensationHandler.emptySet());
                      object(new InvokeResponseChannelListener(invokeResponseChannel) {
View Full Code Here

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

                getBpelRuntime().unregisterActivityForRecovery(recoveryChannel);
                if (faultData == null)
                  faultData = createFault(OFailureHandling.FAILURE_FAULT_NAME, _self.o, _failureReason);
                _self.parent.completed(faultData, CompensationHandler.emptySet());
            }
        }.or(new TerminationChannelListener(_self.self) {
            private static final long serialVersionUID = 2148587381204858397L;

            public void terminate() {
                if (__log.isDebugEnabled())
                    __log.debug("ActivityRecovery: Cancelling invoke activity " + _self.aId + " (terminated by scope)");
View Full Code Here

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

                    public void stop() {
                        _psc.completed(null, _comps);
                    }

                }.or(new TerminationChannelListener(_tc) {
                    private static final long serialVersionUID = 6100105997983514609L;

                    public void terminate() {
                        _psc.completed(null, _comps);
                    }
View Full Code Here

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

                public void stop() {
                    _stopped = true;
                    instance(ACTIVE.this);
                }

            }.or(new TerminationChannelListener(_tc) {
                private static final long serialVersionUID = -4566956567870652885L;

                public void terminate() {
                    replication(_activity.self).terminate();
                    _stopped = true;
View Full Code Here

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

                        // admin to resume the process.
                        _self.parent.failure(getBpelRuntime().getPartnerFaultExplanation(mexId), null);
                        getBpelRuntime().releasePartnerMex(mexId);
                    }

                }.or(new TerminationChannelListener(_self.self) {
                    private static final long serialVersionUID = 4219496341785922396L;

                    public void terminate() {
                        _self.parent.completed(null, CompensationHandler.emptySet());
                        object(new InvokeResponseChannelListener(invokeResponseChannel) {
View Full Code Here

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

                instance(INVOKE.this);
            }
            public void onCancel() {
                INVOKE.this.requireRecovery();
            }
        }.or(new TerminationChannelListener(_self.self) {
            private static final long serialVersionUID = -4416795170896911290L;

            public void terminate() {
                _self.parent.completed(null, CompensationHandler.emptySet());
                object(new TimerResponseChannelListener(timerChannel) {
View Full Code Here

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

                getBpelRuntime().unregisterActivityForRecovery(recoveryChannel);
                if (faultData == null)
                  faultData = createFault(OFailureHandling.FAILURE_FAULT_NAME, _self.o, _failureReason);
                _self.parent.completed(faultData, CompensationHandler.emptySet());
            }
        }.or(new TerminationChannelListener(_self.self) {
            private static final long serialVersionUID = 2148587381204858397L;

            public void terminate() {
                if (__log.isDebugEnabled())
                    __log.debug("ActivityRecovery: Cancelling invoke activity " + _self.aId + " (terminated by scope)");
View Full Code Here

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

        WAITER(ActivityInfo child) {
            _child = child;
        }

        public void run() {
            object(false, new TerminationChannelListener(_self.self) {
                private static final long serialVersionUID = -5471984635653784051L;

                public void terminate() {
                    _terminated = true;
                    replication(_child.self).terminate();
View Full Code Here

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

        ACTIVE(ActivityInfo child) {
            _child = child;
        }

        public void run() {
            object(false, new TerminationChannelListener(_self.self) {
                private static final long serialVersionUID = -2680515407515637639L;

                public void terminate() {
                    replication(_child.self).terminate();
View Full Code Here

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

                public void onCancel() {
                    _self.parent.completed(null, CompensationHandler.emptySet());
                }

            }.or(new TerminationChannelListener(_self.self) {
                private static final long serialVersionUID = 4399496341785922396L;

                public void terminate() {
                    getBpelRuntimeContext().cancel(_pickResponseChannel);
                    instance(WAITING.this);
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.