org.codehaus.xfire.transport
Interface ChannelFactory

All Known Subinterfaces:
SoapTransport, Transport, WSDL11Transport
All Known Implementing Classes:
AbstractTransport, DeadLetterTransport, DelegatedTransport, HttpTransport, LocalTransport, SoapHttpTransport

public interface ChannelFactory

Creates channels. Transports implement this interface.

Author:
Dan Diephouse
See Also:
Transport

Method Summary
 void close(Channel c)
           
 Channel createChannel()
          Create a channel with a new unique URI.
 Channel createChannel(java.lang.String uri)
          Create a channel with a specified URI.
 

Method Detail

createChannel

Channel createChannel()
                      throws java.lang.Exception
Create a channel with a new unique URI.

Returns:
The channel.
Throws:
java.lang.Exception - Occurs if there was an exception creating or opening the channel.

createChannel

Channel createChannel(java.lang.String uri)
                      throws java.lang.Exception
Create a channel with a specified URI.

Parameters:
uri - The URI which represents this Channel's endpoint.
Returns:
The channel.
Throws:
java.lang.Exception - Occurs if there was an exception creating or opening the channel.

close

void close(Channel c)


Copyright © 2004-2011. All Rights Reserved.