org.apache.geronimo.cxf
Class GeronimoDestination.BackChannelConduit

java.lang.Object
  extended by org.apache.geronimo.cxf.GeronimoDestination.BackChannelConduit
All Implemented Interfaces:
org.apache.cxf.transport.Conduit, org.apache.cxf.transport.Observable
Enclosing class:
GeronimoDestination

protected class GeronimoDestination.BackChannelConduit
extends Object
implements org.apache.cxf.transport.Conduit


Field Summary
protected  org.apache.cxf.message.Message request
           
protected  org.apache.cxf.ws.addressing.EndpointReferenceType target
           
 
Method Summary
 void close()
          Close the conduit
 void close(org.apache.cxf.message.Message msg)
           
 org.apache.cxf.transport.Destination getBackChannel()
          Retreive the back-channel Destination.
 org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
           
 void prepare(org.apache.cxf.message.Message message)
           
 void send(org.apache.cxf.message.Message message)
          Send an outbound message, assumed to contain all the name-value mappings of the corresponding input message (if any).
 void setMessageObserver(org.apache.cxf.transport.MessageObserver observer)
          Register a message observer for incoming messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected org.apache.cxf.message.Message request

target

protected org.apache.cxf.ws.addressing.EndpointReferenceType target
Method Detail

close

public void close(org.apache.cxf.message.Message msg)
           throws IOException
Specified by:
close in interface org.apache.cxf.transport.Conduit
Throws:
IOException

setMessageObserver

public void setMessageObserver(org.apache.cxf.transport.MessageObserver observer)
Register a message observer for incoming messages.

Specified by:
setMessageObserver in interface org.apache.cxf.transport.Observable
Parameters:
observer - the observer to notify on receipt of incoming

prepare

public void prepare(org.apache.cxf.message.Message message)
             throws IOException
Specified by:
prepare in interface org.apache.cxf.transport.Conduit
Throws:
IOException

send

public void send(org.apache.cxf.message.Message message)
          throws IOException
Send an outbound message, assumed to contain all the name-value mappings of the corresponding input message (if any).

Parameters:
message - the message to be sent.
Throws:
IOException

getTarget

public org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
Specified by:
getTarget in interface org.apache.cxf.transport.Conduit
Returns:
the reference associated with the target Destination

getBackChannel

public org.apache.cxf.transport.Destination getBackChannel()
Retreive the back-channel Destination.

Specified by:
getBackChannel in interface org.apache.cxf.transport.Conduit
Returns:
the backchannel Destination (or null if the backchannel is built-in)

close

public void close()
Close the conduit

Specified by:
close in interface org.apache.cxf.transport.Conduit


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.