Examples of InternalEndpoint


Examples of org.servicemix.jbi.servicedesc.InternalEndpoint

                // get the list of services
                if (service != null) {
                    ServiceEndpoint[] ses = registry.getEndpointsForService(service);
                    if (ses != null) {
                        for (int i = 0; i < ses.length; i++) {
                            InternalEndpoint se = (InternalEndpoint) ses[i];
                            if (se.getComponentNameSpace() != null && se.getComponentNameSpace().equals(sourceId)) {
                                result = true;
                                break;
                            }
                        }
                    }
                }
                if (result && interfaceName != null) {
                    ServiceEndpoint[] ses = registry.getEndpoints(interfaceName);
                    if (ses != null) {
                        result = false;
                        for (int i = 0; i < ses.length; i++) {
                            InternalEndpoint se = (InternalEndpoint) ses[i];
                            if (se.getComponentNameSpace() != null && se.getComponentNameSpace().equals(sourceId)) {
                                result = true;
                                break;
                            }
                        }
                    }
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.