Class TransportBase

  • All Implemented Interfaces:
    Transport

    public abstract class TransportBase
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      TransportBase()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.Properties getConfiguration()  
      boolean logEnabled()  
      org.w3c.dom.Element send​(UDDIElement el, java.net.URL url)
      Sends a UDDIElement to URL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.uddi4j.transport.Transport

        send
    • Constructor Detail

      • TransportBase

        public TransportBase()
    • Method Detail

      • send

        public org.w3c.dom.Element send​(UDDIElement el,
                                        java.net.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 java.util.Properties getConfiguration()