Package org.apache.muse.core.proxy

Examples of org.apache.muse.core.proxy.ProxyHandler


        return handler;
    }
   
    public String getAction(String operation)
    {
        ProxyHandler handler = getHandler(operation);
       
        if (handler != null)
            return handler.getAction();
       
        return null;       
    }
View Full Code Here


            JavaMethod method = (JavaMethod)operations.get(i.next());
           
            if (isBasicResourceOperation(method.getName()))
                continue;
           
            ProxyHandler handler = createReflectionHandler(method);
           
            String javaName = getMethodName(method.getName().getLocalPart());
            handlers.put(javaName, handler);
        }
       
View Full Code Here

        return names;
    }

    public QName[] getParameterQNames(String operation)
    {
        ProxyHandler handler = getHandler(operation);
       
        if (handler != null)
            return handler.getRequestParameterNames();
       
        return new QName[0];
    }
View Full Code Here

        return new QName[0];
    }

    public QName[] getParameterSchemaTypes(String operation)
    {
        ProxyHandler handler = getHandler(operation);
       
        if (handler != null)
            return handler.getRequestParameterSchemaTypes();
       
        Method method = getBaseProxyMethod(operation);
        Class[] types = method.getParameterTypes();
        QName[] qnames = new QName[types.length];
       
View Full Code Here

        return qnames;
    }

    public Class[] getParameterTypes(String operation)
    {
        ProxyHandler handler = getHandler(operation);
       
        if (handler != null)
            return handler.getRequestParameterTypes();
       
        Method method = getBaseProxyMethod(operation);
        return method.getParameterTypes();
    }
View Full Code Here

        return WsResourceClient.class;
    }

    public QName getRequestName(String operation)
    {
        ProxyHandler handler = getHandler(operation);
       
        if (handler != null)
            return handler.getRequestName();
       
        return null;       
    }
View Full Code Here

        return null;       
    }

    public QName getReturnName(String operation)
    {
        ProxyHandler handler = getHandler(operation);
       
        if (handler != null)
            return handler.getResponseName();
       
        return null;
    }
View Full Code Here

   
   
    public QName getReturnSchemaType(String operation)
    {
        ProxyHandler handler = getHandler(operation);
       
        if (handler != null)
            return handler.getReturnSchemaType();
       
        Method method = getBaseProxyMethod(operation);
        Class type = method.getReturnType();
        return getSchemaType(type);
    }
View Full Code Here

        return getSchemaType(type);
    }

    public Class getReturnType(String operation)
    {
        ProxyHandler handler = getHandler(operation);
       
        if (handler != null)
            return handler.getReturnType();
       
        Method method = getBaseProxyMethod(operation);
        return method.getReturnType();       
    }
View Full Code Here

     *
     */
    public Object invoke(WsResourceClient resource, String operation, Object[] parameters)
        throws SoapFault
    {
        ProxyHandler handler = getHandler(operation);

        if (handler != null)
            return resource.invoke(handler, parameters);
       
        Object proxy = null;
View Full Code Here

TOP

Related Classes of org.apache.muse.core.proxy.ProxyHandler

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.