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

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


                            getBpelRuntime().unregisterActivityForRecovery(recoveryChannel);
                            if (faultData == null)
                                faultData = createFault(OFailureHandling.FAILURE_FAULT_NAME, _self.o, _failure.reason);
                            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 activity " + _self.aId + " (terminated by scope)");
View Full Code Here


        public void run() {
            if (_child != null || !_eventHandlers.isEmpty()) {
                HashSet<ChannelListener> mlSet = new HashSet<ChannelListener>();

                // Listen to messages from our parent.
                mlSet.add(new TerminationChannelListener(_self.self) {
                    private static final long serialVersionUID = 1913414844895865116L;

                    public void terminate() {
                        _terminated = true;
View Full Code Here

                }

                public void onCancel() {
                    _self.parent.completed(null, CompensationHandler.emptySet());
                }
            }.or(new TerminationChannelListener(_self.self) {
                private static final long serialVersionUID = -2791243270691333946L;

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

        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

            if (!_active.isEmpty() || _pickResponseChannel != null) {
                HashSet<ChannelListener> mlset = new HashSet<ChannelListener>();

                if (!_terminated) {
                    mlset.add(new TerminationChannelListener(_tc) {
                        private static final long serialVersionUID = 7666910462948788042L;

                        public void terminate() {
                            terminateActive();
                            _terminated = true;
View Full Code Here

        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

                        // 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

                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

                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

        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

TOP

Related Classes of org.apache.ode.bpel.rtrep.v1.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.