Package org.apache.tuscany.sca.node.impl

Examples of org.apache.tuscany.sca.node.impl.ComponentInfoImpl


    // ComponentManagerService
   
    public List<ComponentInfo> getComponentInfos() {
        List<ComponentInfo> componentInfos = new ArrayList<ComponentInfo>();
        for (Component component : node.getComponents()) {
            ComponentInfo componentInfo = new ComponentInfoImpl();
            componentInfo.setName(component.getName());
            componentInfo.setStarted(((RuntimeComponentImpl)component).isStarted());
            componentInfos.add(componentInfo);
        }
        return componentInfos;
    }
View Full Code Here


        return componentInfos;
    }

    public ComponentInfo getComponentInfo(String componentName) {
        Component component = node.getComponent(componentName);
        ComponentInfo componentInfo = new ComponentInfoImpl();
        componentInfo.setName(component.getName());
        componentInfo.setStarted(((RuntimeComponentImpl)component).isStarted());
        return componentInfo;
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.node.impl.ComponentInfoImpl

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.