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

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


    // DomainManagementService methods
   
    public DomainInfo getDomainDescription(){
       
        DomainInfo domainInfo = new DomainInfoImpl();
        Domain domain =  scaDomain.getDomainModel();
       
        domainInfo.setDomainURI(domain.getDomainURI());
        domainInfo.setDomainURL(domain.getDomainURL());
        domainInfo.getNodes().addAll(domain.getNodes().keySet());
        domainInfo.getContributions().addAll(domain.getContributions().keySet());
        domainInfo.getDeployedComposites().addAll(domain.getDeployedComposites().keySet());
       
        return domainInfo;
    }
View Full Code Here


    }
   
    public NodeInfo getNodeDescription(String nodeURI){
       
        NodeInfo nodeInfo = new NodeInfoImpl();
        Domain domain =  scaDomain.getDomainModel();
        Node node = domain.getNodes().get(nodeURI);
       
        nodeInfo.setNodeURI(nodeURI);
        nodeInfo.setNodeURL(node.getNodeURL());
        nodeInfo.getContributions().addAll(node.getContributions().keySet());
        nodeInfo.getDeployedComposites().addAll(node.getDeployedComposites().keySet());
View Full Code Here

TOP

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

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.