org.apache.cxf.transport.jms
Class JMSConduit

java.lang.Object
  extended by org.apache.cxf.transport.AbstractObservable
      extended by org.apache.cxf.transport.AbstractConduit
          extended by org.apache.cxf.transport.jms.JMSConduit
All Implemented Interfaces:
org.apache.cxf.configuration.Configurable, org.apache.cxf.transport.Conduit, JMSTransport, org.apache.cxf.transport.Observable

public class JMSConduit
extends org.apache.cxf.transport.AbstractConduit
implements org.apache.cxf.configuration.Configurable, JMSTransport


Nested Class Summary
protected  class JMSConduit.DecoupledDestination
          Represented decoupled response endpoint.
 
Field Summary
protected  AddressType address
           
protected  JMSTransportBase base
           
protected static java.lang.String BASE_BEAN_NAME_SUFFIX
           
protected  ClientConfig clientConfig
           
protected  ClientBehaviorPolicyType runtimePolicy
           
protected  SessionPoolType sessionPool
           
 
Fields inherited from class org.apache.cxf.transport.AbstractConduit
target
 
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
 
Constructor Summary
JMSConduit(org.apache.cxf.Bus b, org.apache.cxf.service.model.EndpointInfo endpointInfo)
           
JMSConduit(org.apache.cxf.Bus b, org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target)
           
 
Method Summary
 void close()
           
 void connected(javax.jms.Destination target, javax.jms.Destination reply, JMSSessionFactory factory)
          Callback from the JMSProviderHub indicating the ClientTransport has been sucessfully connected.
 java.lang.String getBeanName()
           
 ClientConfig getClientConfig()
           
 AddressType getJMSAddress()
           
protected  java.util.logging.Logger getLogger()
           
 ClientBehaviorPolicyType getRuntimePolicy()
           
 SessionPoolType getSessionPool()
           
 void prepare(org.apache.cxf.message.Message message)
           
 void setClientConfig(ClientConfig clientConfig)
           
 void setJMSAddress(AddressType a)
           
 void setRuntimePolicy(ClientBehaviorPolicyType runtimePolicy)
           
 void setSessionPool(SessionPoolType sessionPool)
           
 
Methods inherited from class org.apache.cxf.transport.AbstractConduit
close, getBackChannel, getTarget, toString
 
Methods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.Observable
setMessageObserver
 

Field Detail

BASE_BEAN_NAME_SUFFIX

protected static final java.lang.String BASE_BEAN_NAME_SUFFIX
See Also:
Constant Field Values

base

protected final JMSTransportBase base

clientConfig

protected ClientConfig clientConfig

runtimePolicy

protected ClientBehaviorPolicyType runtimePolicy

address

protected AddressType address

sessionPool

protected SessionPoolType sessionPool
Constructor Detail

JMSConduit

public JMSConduit(org.apache.cxf.Bus b,
                  org.apache.cxf.service.model.EndpointInfo endpointInfo)

JMSConduit

public JMSConduit(org.apache.cxf.Bus b,
                  org.apache.cxf.service.model.EndpointInfo endpointInfo,
                  org.apache.cxf.ws.addressing.EndpointReferenceType target)
Method Detail

prepare

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

close

public void close()
Specified by:
close in interface org.apache.cxf.transport.Conduit
Overrides:
close in class org.apache.cxf.transport.AbstractConduit

getLogger

protected java.util.logging.Logger getLogger()
Specified by:
getLogger in class org.apache.cxf.transport.AbstractObservable

connected

public void connected(javax.jms.Destination target,
                      javax.jms.Destination reply,
                      JMSSessionFactory factory)
Description copied from interface: JMSTransport
Callback from the JMSProviderHub indicating the ClientTransport has been sucessfully connected.

Specified by:
connected in interface JMSTransport

getBeanName

public java.lang.String getBeanName()
Specified by:
getBeanName in interface org.apache.cxf.configuration.Configurable

getJMSAddress

public AddressType getJMSAddress()
Specified by:
getJMSAddress in interface JMSTransport

setJMSAddress

public void setJMSAddress(AddressType a)

getClientConfig

public ClientConfig getClientConfig()

setClientConfig

public void setClientConfig(ClientConfig clientConfig)

getRuntimePolicy

public ClientBehaviorPolicyType getRuntimePolicy()

setRuntimePolicy

public void setRuntimePolicy(ClientBehaviorPolicyType runtimePolicy)

getSessionPool

public SessionPoolType getSessionPool()
Specified by:
getSessionPool in interface JMSTransport

setSessionPool

public void setSessionPool(SessionPoolType sessionPool)


Apache CXF