Package org.codehaus.xfire.service

Examples of org.codehaus.xfire.service.ServiceRegistry


        return ClassLoaderUtils.loadClass(className, getClass());
    }

    protected ServiceRegistry getServiceRegistry()
    {
        ServiceRegistry registry = null;

        try
        {
            registry = (ServiceRegistry) getServiceLocator().lookup(ServiceRegistry.ROLE);
        }
View Full Code Here


     * @param service The name of the service.
     */
    protected WSDLWriter getWSDL(String service)
            throws Exception
    {
        ServiceRegistry reg = getServiceRegistry();
        Service hello = reg.getService(service);

        return hello.getWSDLWriter();
    }
View Full Code Here

            throws ServletException, IOException
    {
        String serviceName = getService(request);
        if (serviceName == null) serviceName = "";
       
        ServiceRegistry reg = getServiceRegistry();
      
        response.setHeader("Content-Type", "UTF-8");

        try
        {
            requests.set(request);
            responses.set(response);

            boolean hasService = reg.hasService(serviceName);
            if (serviceName.length() == 0 || !hasService)
            {
                if (!hasService)
                {
                    response.setStatus(404);
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.service.ServiceRegistry

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.