org.apache.ws.scout.transport
Class RMITransport

java.lang.Object
  extended by org.apache.ws.scout.transport.RMITransport
All Implemented Interfaces:
Transport

public class RMITransport
extends java.lang.Object
implements Transport

RMI Message transport class.

This transport calls jUDDI using RMI.

Author:
Kurt Stam (kurt.stam@redhat.com)

Constructor Summary
RMITransport()
           
 
Method Summary
 org.w3c.dom.Element send(org.w3c.dom.Element request, java.net.URI endpointURI)
          Sends an element and returns an element.
 java.lang.String send(java.lang.String request, java.net.URI endpointURI)
          Sends an XML, responds with an XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMITransport

public RMITransport()
Method Detail

send

public org.w3c.dom.Element send(org.w3c.dom.Element request,
                                java.net.URI endpointURI)
                         throws TransportException
Sends an element and returns an element.

Specified by:
send in interface Transport
Throws:
TransportException

send

public java.lang.String send(java.lang.String request,
                             java.net.URI endpointURI)
                      throws TransportException
Sends an XML, responds with an XML.

Specified by:
send in interface Transport
Throws:
TransportException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.