Examples of ComponentService


Examples of org.apache.tuscany.sca.assembly.ComponentService

                                                                              "CalculatorComponent"));
        assertEquals(calcComponent.getRequiredIntents().get(0).getName(), new QName("http://test",
                                                                                    "confidentiality"));
        assertEquals(calcComponent.getPolicySets().get(0).getName(), new QName("http://test", "SecureReliablePolicy"));

        ComponentService calcComponentService = calcComponent.getServices().get(0);
        assertEquals(calcComponentService.getName(), "CalculatorService");
        assertEquals(calcComponentService.getRequiredIntents().get(0).getName(),
                     new QName("http://test", "confidentiality"));
        assertEquals(calcComponentService.getPolicySets().get(0).getName(), new QName("http://test", "SecureReliablePolicy"));
        // TODO test operations

        ComponentReference calcComponentReference = calcComponent.getReferences().get(0);
        assertEquals(calcComponentReference.getName(), "addService");
        assertEquals(calcComponentReference.getAutowire(), Boolean.FALSE);
View Full Code Here

Examples of org.rhq.core.pc.util.ComponentService

            measurementManager = inventoryManager.getMeasurementManager();
            measurementManager.initialize();
            contentManager = inventoryManager.getContentManager();
            contentManager.initialize();
            pluginComponentFactory = inventoryManager.getPluginComponentFactory();
            ComponentService componentService = new ComponentServiceImpl(pluginManager);
            ConfigManagementFactory factory = new ConfigManagementFactoryImpl(componentService);
            configurationManager = new ConfigurationManager(configuration, componentService, factory,
                agentServiceStreamRemoter, inventoryManager);
            resourceFactoryManager = new ResourceFactoryManager(configuration, agentServiceStreamRemoter, pluginManager);
            supportManager = new SupportManager(agentServiceStreamRemoter);
View Full Code Here

Examples of org.switchyard.admin.ComponentService

    @Override
    public ObjectName getComponentService(String componentServiceName) {
        ObjectName name = null;
        if (componentServiceName != null) {
            ComponentService service = _application.getComponentService(QName.valueOf(componentServiceName));
            if (service != null) {
                name = MBeans.getObjectName(service);
            }
        }
        return name;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.