Package org.apache.tuscany.sca.node

Examples of org.apache.tuscany.sca.node.ComponentInfo


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

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

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

        return componentInfos;
    }

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

TOP

Related Classes of org.apache.tuscany.sca.node.ComponentInfo

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.