org.uddi4j.transport
Class TransportBase
java.lang.Object
org.uddi4j.transport.TransportBase
- All Implemented Interfaces:
- Transport
- Direct Known Subclasses:
- ApacheAxisTransport
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)
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 |
TransportBase
public TransportBase()
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 sendurl
- 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()
Copyright © 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.