it.imolinfo.jbi4ejb.jbi.xfire
Class EjbTransport

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 it.imolinfo.jbi4ejb.jbi.xfire.EjbTransport
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 EjbTransport
extends org.codehaus.xfire.transport.AbstractTransport
implements org.codehaus.xfire.wsdl11.WSDL11Transport, org.codehaus.xfire.soap.SoapTransport

Simple ejb transport, similar to local transport, but without soap encoding.

Author:
Marco Piraccini

Field Summary
static java.lang.String EJB_BINDING
          The Constant EJB_BINDING.
 
Constructor Summary
EjbTransport()
          Instantiates a new ejb transport.
 
Method Summary
protected  org.codehaus.xfire.transport.Channel createNewChannel(java.lang.String uri)
          Creates a new Channel.
 boolean equals(java.lang.Object o)
          True if the object is of the same instance (EjbTransport).
 java.lang.String[] getKnownUriSchemes()
          Return the known uri scheme (only the KNOWN_URI_SCHEME constant value.
 java.lang.String getName()
          Returns the transport name.
 java.lang.String getServiceURL(org.codehaus.xfire.service.Service service)
          Returns the service URL.
 java.lang.String[] getSupportedBindings()
          Return the supported binding array.
protected  java.lang.String getUriPrefix()
          Returns the prefix uri (the URI_PREFIX constant).
 
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, 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

EJB_BINDING

public static final java.lang.String EJB_BINDING
The Constant EJB_BINDING.

See Also:
Constant Field Values
Constructor Detail

EjbTransport

public EjbTransport()
Instantiates a new ejb transport.

Method Detail

getName

public java.lang.String getName()
Returns the transport name.

Specified by:
getName in interface org.codehaus.xfire.soap.SoapTransport
Specified by:
getName in interface org.codehaus.xfire.wsdl11.WSDL11Transport
Returns:
the name (always EJB constant)
See Also:
WSDL11Transport.getName()

getServiceURL

public java.lang.String getServiceURL(org.codehaus.xfire.service.Service service)
Returns the service URL.

Specified by:
getServiceURL in interface org.codehaus.xfire.wsdl11.WSDL11Transport
Parameters:
service - the service
Returns:
the service url
See Also:
WSDL11Transport.getServiceURL(org.codehaus.xfire.service.Service)

createNewChannel

protected org.codehaus.xfire.transport.Channel createNewChannel(java.lang.String uri)
Creates a new Channel.

Specified by:
createNewChannel in class org.codehaus.xfire.transport.AbstractTransport
Parameters:
uri - the channel uri
Returns:
the channel (always a EjbChannel
See Also:
AbstractTransport.createNewChannel(java.lang.String)

getUriPrefix

protected java.lang.String getUriPrefix()
Returns the prefix uri (the URI_PREFIX constant).

Specified by:
getUriPrefix in class org.codehaus.xfire.transport.AbstractTransport
Returns:
the prefix uri
See Also:
AbstractTransport.getUriPrefix()

getSupportedBindings

public java.lang.String[] getSupportedBindings()
Return the supported binding array. Supports only the EJB_BINDING binding

Specified by:
getSupportedBindings in interface org.codehaus.xfire.transport.Transport
Overrides:
getSupportedBindings in class org.codehaus.xfire.transport.AbstractTransport
Returns:
the supported binding array
See Also:
AbstractTransport.getSupportedBindings()

getKnownUriSchemes

public java.lang.String[] getKnownUriSchemes()
Return the known uri scheme (only the KNOWN_URI_SCHEME constant value.

Specified by:
getKnownUriSchemes in class org.codehaus.xfire.transport.AbstractTransport
Returns:
the
See Also:
AbstractTransport.getKnownUriSchemes()

equals

public boolean equals(java.lang.Object o)
True if the object is of the same instance (EjbTransport).

Overrides:
equals in class java.lang.Object
Parameters:
o - the object
Returns:
true if the object is of the same instance.
See Also:
Object.equals(java.lang.Object)


Copyright © 2007-2008 Imola Informatica. All Rights Reserved.