Package org.uddi4j.transport
Class TransportBase
- java.lang.Object
-
- org.uddi4j.transport.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.
-
-
-
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 interfaceTransport
- 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()
-
-