Examples of TerminationChannelListener


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

            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

Examples of org.apache.ode.bpel.runtime.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.runtime.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.runtime.channels.TerminationChannelListener

                public void onCancel() {
                    _extensionContext.getParentScopeChannel().completed(null, CompensationHandler.emptySet());
                }

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

                        public void terminate() {
                            getBpelRuntimeContext().cancel(_pickResponseChannel);
                            instance(WAITING.this);
View Full Code Here

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

        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

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

        public void run() {
            Iterator<ChildInfo> active = active();
            if (active.hasNext()) {
                Set<ChannelListener> mlSet = new HashSet<ChannelListener>();
                mlSet.add(new TerminationChannelListener(_self.self) {
                    private static final long serialVersionUID = 2554750258974084466L;

                    public void terminate() {
                        for (Iterator<ChildInfo> i = active(); i.hasNext(); )
                            replication(i.next().activity.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

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

                        }
                        // Resuming the process creates a new invoke
                        getBpelRuntimeContext().releasePartnerMex(mexId, false);
                    }

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

                    public void terminate() {
                        _self.parent.completed(null, CompensationHandler.emptySet());
                    }
View Full Code Here

Examples of org.apache.ode.bpel.runtime.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

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