org.uddi4j.transport
Class TransportFactory

java.lang.Object
  extended byorg.uddi4j.transport.TransportFactory

Deprecated. UDDI4J is deprecated as of WAS 6.0. Use the IBM UDDI v3 Client for Java (IBM UC4J) instead.

public class TransportFactory
extends java.lang.Object

Factory to dynamically create a Transport implementation.

Author:
David Melgar (dmelgar@us.ibm.com)

Field Summary
static java.lang.String DEFAULT_TRANSPORT_NAME
          Deprecated.  
static java.lang.String PROPERTY_NAME
          Deprecated.  
 
Method Summary
 Transport getTransport()
          Deprecated. Returns Transport implementation to be used.
static TransportFactory newInstance()
          Deprecated. Create a TransportFactory.
static TransportFactory newInstance(java.util.Properties p)
          Deprecated. Create a TransportFactory passing in configuration information in a properties object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_NAME

public static final java.lang.String PROPERTY_NAME
Deprecated. 
See Also:
Constant Field Values

DEFAULT_TRANSPORT_NAME

public static final java.lang.String DEFAULT_TRANSPORT_NAME
Deprecated. 
See Also:
Constant Field Values
Method Detail

getTransport

public Transport getTransport()
                       throws TransportException
Deprecated. 
Returns Transport implementation to be used. Transport is cached. Transport is dynamically loaded based on property org.uddi4j.transport.TransportClassName set as either a system property or in passed properties object. If this property is not set, the default transport is loaded.

Returns:
Transport
Throws:
TransportException - Thrown if transport class cannot be loaded.

newInstance

public static TransportFactory newInstance()
Deprecated. 
Create a TransportFactory.

Returns:
TransportFactory

newInstance

public static TransportFactory newInstance(java.util.Properties p)
Deprecated. 
Create a TransportFactory passing in configuration information in a properties object.

Parameters:
p - Properties
Returns:
TransportFactory
See Also:
UDDIProxy(Properties) constructor for information on configuration object.