⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mockwebannotations.java

📁 Xfire文件 用于开发web service 的一个开源工具 很好用的
💻 JAVA
字号:
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;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -