it.imolinfo.jbi4ejb.jbi.xfire
Class EjbChannel

java.lang.Object
  extended by org.codehaus.xfire.transport.AbstractChannel
      extended by it.imolinfo.jbi4ejb.jbi.xfire.EjbChannel
All Implemented Interfaces:
org.codehaus.xfire.transport.Channel

public class EjbChannel
extends org.codehaus.xfire.transport.AbstractChannel

Ejb channel, only support local invocations and backchannel uri.

Author:
Marco Piraccini

Field Summary
 
Fields inherited from interface org.codehaus.xfire.transport.Channel
BACKCHANNEL_URI, OUTPUTSTREAM, PASSWORD, USERNAME
 
Constructor Summary
EjbChannel(java.lang.String uri, EjbTransport transport)
          Instantiates a new ejb channel.
 
Method Summary
 void open()
          Do nothing..
 void send(org.codehaus.xfire.MessageContext context, org.codehaus.xfire.exchange.OutMessage message)
          Sends the message.
 
Methods inherited from class org.codehaus.xfire.transport.AbstractChannel
close, getEndpoint, getTransport, getUri, isAsync, receive, setEndpoint, setTransport, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbChannel

public EjbChannel(java.lang.String uri,
                  EjbTransport transport)
Instantiates a new ejb channel.

Parameters:
uri - the channel uri
transport - the EjbTransport
Method Detail

open

public void open()
          throws java.lang.Exception
Do nothing..

Throws:
java.lang.Exception - if some proble occurs
See Also:
Channel.open()

send

public void send(org.codehaus.xfire.MessageContext context,
                 org.codehaus.xfire.exchange.OutMessage message)
          throws org.codehaus.xfire.XFireException
Sends the message.

Parameters:
context - The message context
message - the out message
Throws:
org.codehaus.xfire.XFireException - if some problem occurs
See Also:
Channel.send(org.codehaus.xfire.MessageContext, org.codehaus.xfire.exchange.OutMessage)


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