Package org.apache.tuscany.sca.domain.model

Examples of org.apache.tuscany.sca.domain.model.ServiceModel


        NodeModel node = domainModel.getNodes().get(nodeURI);    
       
        if (node != null){
           
            // collect the service info
            ServiceModel serviceModel = domainModelFactory.createService();
            serviceModel.setServiceURI(targetServiceName);
            serviceModel.setServiceURL(URL);
            serviceModel.setServiceBinding(bindingClassName);
           
            //store the service
            node.getServices().put(targetServiceName+bindingClassName, serviceModel);
           
            if (componentName != null){
View Full Code Here


            serviceName = serviceName.substring(1);
        }
        String serviceKey = serviceName + bindingName;
       
        for (NodeModel node : domainModel.getNodes().values()){
            ServiceModel service = node.getServices().get(serviceKey);
           
            if (service != null){
                url = service.getServiceURL();
                // uncomment for debugging
                //url = url.replace("8085", "8086");
                logger.log(Level.INFO, "Found service " + serviceName + " url: " + url);
                break;
            }
View Full Code Here

        NodeModel node = domainModel.getNodes().get(nodeURI);    
       
        if (node != null){
           
            // collect the service info
            ServiceModel serviceModel = domainModelFactory.createService();
            serviceModel.setServiceURI(targetServiceName);
            serviceModel.setServiceURL(URL);
            serviceModel.setServiceBinding(bindingClassName);
           
            //store the service
            node.getServices().put(targetServiceName+bindingClassName, serviceModel);
           
            if (componentName != null){
View Full Code Here

       
        String url = SERVICE_NOT_REGISTERED;
        String serviceKey = serviceName + bindingName;
       
        for (NodeModel node : domainModel.getNodes().values()){
            ServiceModel service = node.getServices().get(serviceKey);
           
            if (service != null){
                url = service.getServiceURL();
                // uncomment for debugging
                //url = url.replace("8085", "8086");
                logger.log(Level.INFO, "Found service " + serviceName + " url: " + url);
                break;
            }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.domain.model.ServiceModel

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.