Package org.apache.tuscany.sca.host.embedded.management.variation

Examples of org.apache.tuscany.sca.host.embedded.management.variation.ComponentInfo


    }

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


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

TOP

Related Classes of org.apache.tuscany.sca.host.embedded.management.variation.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.