Class TransportFactory

java.lang.Object
org.uddi4j.transport.TransportFactory

public class TransportFactory extends Object
Factory to dynamically create a Transport implementation.
Author:
David Melgar (dmelgar@us.ibm.com)
  • Field Details

  • Method Details

    • getTransport

      public Transport getTransport() throws TransportException
      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()
      Create a TransportFactory.
      Returns:
      TransportFactory
    • newInstance

      public static TransportFactory newInstance(Properties p)
      Create a TransportFactory passing in configuration information in a properties object.
      Parameters:
      p - Properties
      Returns:
      TransportFactory
      See Also: