org.codehaus.xfire.transport.jms
Class JMSTransport

java.lang.Object
  extended by org.codehaus.xfire.AbstractContext
      extended by org.codehaus.xfire.handler.AbstractHandlerSupport
          extended by org.codehaus.xfire.transport.AbstractTransport
              extended by org.codehaus.xfire.transport.jms.JMSTransport
All Implemented Interfaces:
org.codehaus.xfire.handler.HandlerSupport, org.codehaus.xfire.soap.SoapTransport, org.codehaus.xfire.transport.ChannelFactory, org.codehaus.xfire.transport.Transport, org.codehaus.xfire.wsdl11.WSDL11Transport

public class JMSTransport
extends org.codehaus.xfire.transport.AbstractTransport
implements org.codehaus.xfire.soap.SoapTransport, org.codehaus.xfire.wsdl11.WSDL11Transport


Field Summary
static java.lang.String BINDING_ID
           
static java.lang.String NAME
           
 
Constructor Summary
JMSTransport(org.codehaus.xfire.XFire xfire, javax.jms.ConnectionFactory factory)
           
 
Method Summary
protected  org.codehaus.xfire.transport.Channel createNewChannel(java.lang.String uri)
           
 javax.jms.ConnectionFactory getConnectionFactory()
           
 java.lang.String[] getKnownUriSchemes()
           
 java.lang.String getName()
           
 java.lang.String getServiceURL(org.codehaus.xfire.service.Service service)
           
 java.lang.String[] getSupportedBindings()
           
 java.lang.String getTransportURI(org.codehaus.xfire.service.Service service)
           
protected  java.lang.String getUriPrefix()
           
 org.codehaus.xfire.XFire getXFire()
           
 void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
           
 
Methods inherited from class org.codehaus.xfire.transport.AbstractTransport
close, createChannel, createChannel, dispose, findBinding, getChannelMap, isUriSupported
 
Methods inherited from class org.codehaus.xfire.handler.AbstractHandlerSupport
addFaultHandler, addInHandler, addOutHandler, getFaultHandlers, getInHandlers, getOutHandlers, setFaultHandlers, setInHandlers, setOutHandlers
 
Methods inherited from class org.codehaus.xfire.AbstractContext
getProperty, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.xfire.transport.Transport
dispose, findBinding, isUriSupported
 
Methods inherited from interface org.codehaus.xfire.transport.ChannelFactory
close, createChannel, createChannel
 
Methods inherited from interface org.codehaus.xfire.handler.HandlerSupport
getFaultHandlers, getInHandlers, getOutHandlers
 
Methods inherited from interface org.codehaus.xfire.transport.Transport
dispose, findBinding, isUriSupported
 
Methods inherited from interface org.codehaus.xfire.transport.ChannelFactory
close, createChannel, createChannel
 
Methods inherited from interface org.codehaus.xfire.handler.HandlerSupport
getFaultHandlers, getInHandlers, getOutHandlers
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

BINDING_ID

public static final java.lang.String BINDING_ID
See Also:
Constant Field Values
Constructor Detail

JMSTransport

public JMSTransport(org.codehaus.xfire.XFire xfire,
                    javax.jms.ConnectionFactory factory)
Parameters:
factory - The JMS ConnectionFactory
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.codehaus.xfire.soap.SoapTransport
Specified by:
getName in interface org.codehaus.xfire.wsdl11.WSDL11Transport

getServiceURL

public java.lang.String getServiceURL(org.codehaus.xfire.service.Service service)
Specified by:
getServiceURL in interface org.codehaus.xfire.wsdl11.WSDL11Transport

getTransportURI

public java.lang.String getTransportURI(org.codehaus.xfire.service.Service service)

createNewChannel

protected org.codehaus.xfire.transport.Channel createNewChannel(java.lang.String uri)
Specified by:
createNewChannel in class org.codehaus.xfire.transport.AbstractTransport

getUriPrefix

protected java.lang.String getUriPrefix()
Specified by:
getUriPrefix in class org.codehaus.xfire.transport.AbstractTransport

getConnectionFactory

public javax.jms.ConnectionFactory getConnectionFactory()

setConnectionFactory

public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)

getXFire

public org.codehaus.xfire.XFire getXFire()

getKnownUriSchemes

public java.lang.String[] getKnownUriSchemes()
Specified by:
getKnownUriSchemes in class org.codehaus.xfire.transport.AbstractTransport

getSupportedBindings

public java.lang.String[] getSupportedBindings()
Specified by:
getSupportedBindings in interface org.codehaus.xfire.transport.Transport
Overrides:
getSupportedBindings in class org.codehaus.xfire.transport.AbstractTransport


Copyright © 2004-2009. All Rights Reserved.