Examples of ServiceRegistry


Examples of org.serviceconnector.registry.ServiceRegistry

        writer.writeEndElement();
      }
    }
    String serviceParameter = request.getParameter("service");
    if (serviceParameter != null) {
      ServiceRegistry serviceRegistry = AppContext.getServiceRegistry();
      Service service = serviceRegistry.getService(serviceParameter);
      if (service != null) {
        writer.writeStartElement("service");
        if (service instanceof IPublishService) {
          IPublishService publishService = (IPublishService) service;
          PublishMessageQueue<SCMPMessage> publishMessageQueue = publishService.getMessageQueue();
View Full Code Here

Examples of org.switchyard.spi.ServiceRegistry

        ServiceReference compReference = deployment.getDomain().getServiceReference(
                new QName("urn:test:config-mock-binding:1.0", "NoService/TestReference"));
        Assert.assertNotNull(compReference.getServiceMetadata().getRegistrant());
        Assert.assertTrue(compReference.getServiceMetadata().getRegistrant().getConfig() instanceof ComponentImplementationModel);
       
        ServiceRegistry registry = ((DomainImpl) deployment.getDomain()).getServiceRegistry();
        deployment.stop();
        // ensure we're cleaning up after ourselves.
        Assert.assertEquals(0, registry.getServices().size());
        Assert.assertEquals(0, registry.getServiceReferences().size());
        deployment.destroy();
    }
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.