org.codehaus.xfire.transport
Class AbstractTransport
java.lang.Object
org.codehaus.xfire.handler.AbstractHandlerSupport
org.codehaus.xfire.transport.AbstractTransport
- All Implemented Interfaces:
- HandlerSupport, ChannelFactory, Transport
- Direct Known Subclasses:
- AbstractWSDLTransport, DeadLetterTransport, LocalTransport
public abstract class AbstractTransport
- extends AbstractHandlerSupport
- implements Transport
- Since:
- Dec 21, 2004
- Author:
- Dan Diephouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTransport
public AbstractTransport()
dispose
public void dispose()
- Disposes all the existing channels.
- Specified by:
dispose
in interface Transport
createChannel
public Channel createChannel()
throws java.lang.Exception
- Description copied from interface:
ChannelFactory
- Create a channel with a new unique URI.
- Specified by:
createChannel
in interface ChannelFactory
- Returns:
- The channel.
- Throws:
java.lang.Exception
- Occurs if there was an exception creating or opening the channel.
createChannel
public Channel createChannel(java.lang.String uri)
throws java.lang.Exception
- Description copied from interface:
ChannelFactory
- Create a channel with a specified URI.
- Specified by:
createChannel
in interface ChannelFactory
- 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.
getChannelMap
protected java.util.Map getChannelMap()
createNewChannel
protected abstract Channel createNewChannel(java.lang.String uri)
getUriPrefix
protected abstract java.lang.String getUriPrefix()
Copyright © 2004-2005 Codehaus. All Rights Reserved.