Examples of removeService()


Examples of org.apache.axis2.description.AxisServiceGroup.removeService()

     */
    public synchronized void removeService(String name) throws AxisFault {
        AxisService service = allServices.remove(name);
        if (service != null) {
            AxisServiceGroup serviceGroup = service.getAxisServiceGroup();
            serviceGroup.removeService(name);
            log.debug(Messages.getMessage("serviceremoved", name));
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.axis2.description.AxisServiceGroup.removeService()

     */
    public synchronized void removeService(String name) throws AxisFault {
        AxisService service = (AxisService) allServices.remove(name);
        if (service != null) {
            AxisServiceGroup serviceGroup = service.getAxisServiceGroup();
            serviceGroup.removeService(name);
            log.debug(Messages.getMessage("serviceremoved", name));
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.axis2.description.AxisServiceGroup.removeService()

     */
    public synchronized void removeService(String name) throws AxisFault {
        AxisService service = removeServiceReferences(name);
        if (service != null) {
            AxisServiceGroup serviceGroup = service.getAxisServiceGroup();
            serviceGroup.removeService(name);
            log.debug(Messages.getMessage("serviceremoved", name));
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.axis2.description.AxisServiceGroup.removeService()

     */
    public synchronized void removeService(String name) throws AxisFault {
        AxisService service = (AxisService) allServices.remove(name);
        if (service != null) {
            AxisServiceGroup serviceGroup = service.getAxisServiceGroup();
            serviceGroup.removeService(name);
            log.debug(Messages.getMessage("serviceremoved", name));
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.axis2.description.AxisServiceGroup.removeService()

     */
    public synchronized void removeService(String name) throws AxisFault {
        AxisService service = allServices.remove(name);
        if (service != null) {
            AxisServiceGroup serviceGroup = service.getAxisServiceGroup();
            serviceGroup.removeService(name);
            log.debug(Messages.getMessage("serviceremoved", name));
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.axis2.description.AxisServiceGroup.removeService()

     */
    public synchronized void removeService(String name) throws AxisFault {
        AxisService service = (AxisService) allServices.remove(name);
        if (service != null) {
            AxisServiceGroup serviceGroup = service.getAxisServiceGroup();
            serviceGroup.removeService(name);
            log.debug(Messages.getMessage("serviceremoved", name));
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.axis2.engine.AxisConfiguration.removeService()

            URL fn = axisService.getFileName();
            if (fn != null) {
                fileName = fn.getPath();
            }
            // removing the service from axis configuration
            axisConfig.removeService(axisService.getName());
        }
        // remove the service group from axis config and config context
        AxisServiceGroup serviceGroup = axisConfig.removeServiceGroup(asGroup.getServiceGroupName());
        if (serviceGroup != null) {
            getConfigContext().removeServiceGroupContext(serviceGroup);
View Full Code Here

Examples of org.apache.axis2.engine.AxisConfiguration.removeService()

                log.warn("No event source exists by the name : " + eventsource.getName());
                return;
            }

            AxisConfiguration axisCfg = getSynapseConfiguration().getAxisConfiguration();
            axisCfg.removeService(eventsource.getName());
            SynapseEventSource synapseEventSource = buildEventSource(eventsource);
            synapseEventSource.buildService(axisCfg);
            synapseEventSource.setFileName(oldEventSrc.getFileName());
            synapseConfiguration.removeEventSource(eventsource.getName());
            synapseConfiguration.addEventSource(eventsource.getName(), synapseEventSource);
View Full Code Here

Examples of org.apache.axis2.engine.AxisConfiguration.removeService()

    public void processdeleteService(HttpServletRequest req, HttpServletResponse res)
            throws IOException, ServletException {
        String serviceName = req.getParameter("serviceName");
        AxisConfiguration axisConfiguration = configContext.getAxisConfiguration();
        if (axisConfiguration.getService(serviceName) != null) {
            axisConfiguration.removeService(serviceName);
            req.getSession().setAttribute("status", "Service '" + serviceName + "' has been successfully removed.");
        } else {
            req.getSession().setAttribute("status", "Failed to delete service '" + serviceName + "'. Service doesn't exist.");
        }
View Full Code Here

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

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

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

    }


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