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 Object
implements Transport

RMI Message transport class.

This transpor calls jUDDI using RMI.

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

Constructor Summary
RMITransport()
           
 
Method Summary
 Element send(Element request, URI endpointURI)
          Sends an element and returns an element.
 String send(String request, 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 Element send(Element request,
                    URI endpointURI)
             throws RegistryException
Sends an element and returns an element.

Specified by:
send in interface Transport
Throws:
RegistryException

send

public String send(String request,
                   URI endpointURI)
            throws RegistryException
Sends an XML, responds with an XML.

Specified by:
send in interface Transport
Throws:
RegistryException


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.