📄 channelfactory.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -