|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.transport.DelegatedTransport
public class DelegatedTransport
Wraps another channel so it is easy to provide custom functionality to any transport - such as reliable messaging.
Constructor Summary | |
---|---|
DelegatedTransport(Transport transport)
|
Method Summary | |
---|---|
void |
close(Channel c)
|
Channel |
createChannel()
Create a channel with a new unique URI. |
Channel |
createChannel(String uri)
Create a channel with a specified URI. |
void |
dispose()
|
Binding |
findBinding(MessageContext context,
Service service)
|
List |
getFaultHandlers()
|
List |
getInHandlers()
|
List |
getOutHandlers()
|
String[] |
getSupportedBindings()
|
Transport |
getTransport()
The transport which this transport wraps. |
boolean |
isUriSupported(String uri)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatedTransport(Transport transport)
Method Detail |
---|
public Transport getTransport()
public void dispose()
dispose
in interface Transport
public Channel createChannel() throws Exception
ChannelFactory
createChannel
in interface ChannelFactory
Exception
- Occurs if there was an exception creating or opening the channel.public Channel createChannel(String uri) throws Exception
ChannelFactory
createChannel
in interface ChannelFactory
uri
- The URI which represents this Channel's endpoint.
Exception
- Occurs if there was an exception creating or opening the channel.public List getInHandlers()
getInHandlers
in interface HandlerSupport
public List getOutHandlers()
getOutHandlers
in interface HandlerSupport
public List getFaultHandlers()
getFaultHandlers
in interface HandlerSupport
public boolean isUriSupported(String uri)
isUriSupported
in interface Transport
public String[] getSupportedBindings()
getSupportedBindings
in interface Transport
public Binding findBinding(MessageContext context, Service service)
findBinding
in interface Transport
public void close(Channel c)
close
in interface ChannelFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |