Examples of removeService()


Examples of org.apache.catalina.Server.removeService()

        String serviceName = oname.getKeyProperty("serviceName");
        Server server = ServerFactory.getServer();
        Service service = server.findService(serviceName);

        // Remove this component from its parent component
        server.removeService(service);

    }


    /**
 
View Full Code Here

Examples of org.apache.stratos.manager.retriever.DataInsertionAndRetrievalManager.removeService()

            log.error(errorMsg, e);
            throw new ADCException(errorMsg, e);
        }

        try {
            dataInsertionAndRetrievalManager.removeService(type);

        } catch (PersistenceManagerException e) {
            String errorMsg = "Error in removing Service from PersistenceManager";
            log.error(errorMsg, e);
            throw new ADCException(errorMsg, e);
View Full Code Here

Examples of org.apache.stratos.messaging.domain.topology.Topology.removeService()

                            event.getServiceName()));
                }
            } else {
             
              // Apply changes to the topology
              topology.removeService(service);
             
              if (log.isInfoEnabled()) {
                log.info(String.format("Service removed: [service] %s", event.getServiceName()));
              }
            }
View Full Code Here

Examples of org.apache.tuscany.sca.binding.jsonrpc.ScaDomainScriptServlet.removeService()

        }

        // Unregister the service from the scaDomain script servlet
        ScaDomainScriptServlet scaDomainServlet = (ScaDomainScriptServlet) servletHost.getServletMapping(domainScriptMapping);
        if (scaDomainServlet != null) {
            scaDomainServlet.removeService(binding.getName());

            // Remove the servlet if there's no more registered services
            if (scaDomainServlet.getServiceNames().isEmpty()) {
                servletHost.removeServletMapping(domainScriptMapping);
            }
View Full Code Here

Examples of org.apache.tuscany.sca.binding.jsonrpc.ScaDomainScriptServlet.removeService()

        }

        // Unregister the service from the scaDomain script servlet
        ScaDomainScriptServlet scaDomainServlet = (ScaDomainScriptServlet) servletHost.getServletMapping(domainScriptMapping);
        if (scaDomainServlet != null) {
            scaDomainServlet.removeService(binding.getName());

            // Remove the servlet if there's no more registered services
            if (scaDomainServlet.getServiceNames().isEmpty()) {
                servletHost.removeServletMapping(domainScriptMapping);
            }
View Full Code Here

Examples of org.apache.tuscany.sca.binding.jsonrpc.ScaDomainScriptServlet.removeService()

        }

        // Unregister the service from the scaDomain script servlet
        ScaDomainScriptServlet scaDomainServlet = (ScaDomainScriptServlet) servletHost.getServletMapping(domainScriptMapping);
        if (scaDomainServlet != null) {
            scaDomainServlet.removeService(binding.getName());

            // Remove the servlet if there's no more registered services
            if (scaDomainServlet.getServiceNames().isEmpty()) {
                servletHost.removeServletMapping(domainScriptMapping);
            }
View Full Code Here

Examples of org.apache.ws.scout.Remover.removeService()

            blm = rs.getBusinessLifeCycleManager();
            Finder finder = new Finder(bqm, uddiversion);
            //Find the service
            Service service = finder.findService("registry","Registry Test ServiceName", blm);
            Remover remover = new Remover(blm);
            remover.removeService(service);
        } catch (JAXRException je) {
            fail(je.getMessage());
        }
        //delete the organization
        try
View Full Code Here

Examples of org.wso2.carbon.governance.api.services.ServiceManager.removeService()

        serviceManager.addService(service);

        Service newService = serviceManager.getService(service.getId());
        assertNotNull(newService);

        serviceManager.removeService(newService.getId());
        newService = serviceManager.getService(service.getId());
        assertNull(newService);


        service = serviceManager.newService(new QName("http://banga.bang.queek/blaa", "basss"));
View Full Code Here

Examples of org.wso2.carbon.governance.api.services.ServiceManager.removeService()

        for (GovernanceArtifact artifact: artifacts) {
            if (artifact instanceof Service) {
                // getting the service.
                Service service2 = (Service)artifact;
                serviceManager.removeService(service2.getId());
            }
        }       

        // now try to remove the endpoint
        endpointManager.removeEndpoint(endpoints[0].getId());
View Full Code Here

Examples of org.wso2.carbon.governance.api.services.ServiceManager.removeService()

        Service oldService = serviceManager.getService(serviceId);
        String serviceName = null;
        if (oldService != null) {
            // TODO: Change this once the necessary improvements are in the governance API
            serviceName = oldService.getQName().getLocalPart();
            serviceManager.removeService(serviceId);
        }

        // Create a new service (Use the discovery namespace)
        if (serviceName == null) {
            serviceName = DiscoveryConstants.SERVICE_NAME_PREFIX +
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.