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

📄 handlerchainannotation.java

📁 Xfire文件 用于开发web service 的一个开源工具 很好用的
💻 JAVA
字号:
package org.codehaus.xfire.annotations;import java.io.Serializable;/** * Represents a common representation of a handler chain annotation. Associates the Web Service with an externally * defined handler chain. This annotation is typically used in scenarios where embedding the handler configuration * directly in the Java source is not appropriate; for example, where the handler configuration needs to be shared * across multiple Web Services, or where the handler chain consists of handlers for multiple transports. * <p/> * It is an error to combine this annotation with the {@link org.codehaus.xfire.annotations.soap.SOAPMessageHandler}. * * @author <a href="mailto:poutsma@mac.com">Arjen Poutsma</a> */public class HandlerChainAnnotation implements Serializable{    private String file;    private String name;    /**     * Initializes a new instance of the <code>HandlerChain</code> attribute with the given file and chain name.     *     * @param file the file name.     * @param name the handler name.     */    public HandlerChainAnnotation(String file, String name)    {        this.file = file;        this.name = name;    }    /**     * Returns the location of the handler chain file. The location is a URL, which may be relative or absolute.     * Relative URLs are relative to the location of the service implementation bean at the time of processing.     *     * @return the location of the handler chain file.     */    public String getFile()    {        return file;    }    /**     * Returns the name of the handler chain in the configuration file.     *     * @return the name of the handler chain.     */    public String getName()    {        return name;    }}

⌨️ 快捷键说明

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