Package org.codehaus.xfire.spring.remoting

Source Code of org.codehaus.xfire.spring.remoting.MockWebAnnotations

package org.codehaus.xfire.spring.remoting;

import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;

import org.codehaus.xfire.annotations.HandlerChainAnnotation;
import org.codehaus.xfire.annotations.soap.SOAPBindingAnnotation;
import org.codehaus.xfire.annotations.WebAnnotations;
import org.codehaus.xfire.annotations.WebMethodAnnotation;
import org.codehaus.xfire.annotations.WebParamAnnotation;
import org.codehaus.xfire.annotations.WebResultAnnotation;
import org.codehaus.xfire.annotations.WebServiceAnnotation;
import org.codehaus.xfire.test.EchoImpl;

public class MockWebAnnotations implements WebAnnotations
{

    public HandlerChainAnnotation getHandlerChainAnnotation(Class aClass)
    {
        // TODO Auto-generated method stub
        return null;
    }

    public SOAPBindingAnnotation getSOAPBindingAnnotation(Class aClass)
    {
        // TODO Auto-generated method stub
        return null;
    }

    public WebMethodAnnotation getWebMethodAnnotation(Method method)
    {
        // TODO Auto-generated method stub
        return null;
    }

    public WebParamAnnotation getWebParamAnnotation(Method method, int parameter)
    {
        // TODO Auto-generated method stub
        return null;
    }

    public WebResultAnnotation getWebResultAnnotation(Method method)
    {
        // TODO Auto-generated method stub
        return null;
    }

    public WebServiceAnnotation getWebServiceAnnotation(Class aClass)
    {
        return new WebServiceAnnotation();
    }

    public boolean hasHandlerChainAnnotation(Class aClass)
    {
        // TODO Auto-generated method stub
        return false;
    }

    public boolean hasOnewayAnnotation(Method method)
    {
        // TODO Auto-generated method stub
        return false;
    }

    public boolean hasSOAPBindingAnnotation(Class aClass)
    {
        // TODO Auto-generated method stub
        return false;
    }

    public boolean hasWebMethodAnnotation(Method method)
    {
        // TODO Auto-generated method stub
        return false;
    }

    public boolean hasWebParamAnnotation(Method method, int parameter)
    {
        // TODO Auto-generated method stub
        return false;
    }

    public boolean hasWebResultAnnotation(Method method)
    {
        // TODO Auto-generated method stub
        return false;
    }

    public boolean hasWebServiceAnnotation(Class aClass)
    {
        return aClass.equals(EchoImpl.class);
    }

  public Map getServiceProperties(Class clazz) {
    // TODO Auto-generated method stub
    return null;
  }

    public Collection getFaultHandlers(Class arg0)
    {
        // TODO Auto-generated method stub
        return Collections.EMPTY_LIST;
    }

    public Collection getInHandlers(Class arg0)
    {
        // TODO Auto-generated method stub
        return Collections.EMPTY_LIST;
    }

    public Collection getOutHandlers(Class arg0)
    {

        return Collections.EMPTY_LIST;
    }

}
TOP

Related Classes of org.codehaus.xfire.spring.remoting.MockWebAnnotations

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.