Class TransportBase

java.lang.Object
org.uddi4j.transport.TransportBase
All Implemented Interfaces:
Transport

public abstract class TransportBase extends Object implements Transport
Partial implementation of Transport interface. This class provides a default implementation of the send UDDIElement method. This converts the UDDIElement to a DOM element and invokes the send DOM Element method. In the future, if the data representation is not DOM based, transports will need to implement their own send UDDIElement methods.
Author:
David Melgar (dmelgar@us.ibm.com)
  • Constructor Details

    • TransportBase

      public TransportBase()
  • Method Details

    • send

      public Element send(UDDIElement el, URL url) throws TransportException
      Sends a UDDIElement to URL.
      Specified by:
      send in interface Transport
      Parameters:
      el - UDDIElement to send
      url - Destination URL
      Returns:
      An element representing a XML DOM tree containing the UDDI response.
      Throws:
      TransportException - Thrown if a problem occurs during transmission
    • logEnabled

      public boolean logEnabled()
    • getConfiguration

      protected Properties getConfiguration()