channelfactory.java

来自「Xfire文件 用于开发web service 的一个开源工具 很好用的」· Java 代码 · 共 31 行

JAVA
31
字号
package org.codehaus.xfire.transport;/** * Creates channels. Transports implement this interface. *  * @see org.codehaus.xfire.transport.Transport * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> */public interface ChannelFactory{    /**     * Create a channel with a new unique URI.     *      * @return The channel.     * @throws Exception Occurs if there was an exception creating or opening the channel.     */    Channel createChannel() throws Exception;        /**     * Create a channel with a specified URI.     *      * @param uri The URI which represents this Channel's endpoint.     * @return The channel.     * @throws Exception Occurs if there was an exception creating or opening the channel.     */    Channel createChannel(String uri) throws Exception;        void close(Channel c);}

⌨️ 快捷键说明

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