Package org.uddi4j.transport
Class TransportFactory
java.lang.Object
org.uddi4j.transport.TransportFactory
Factory to dynamically create a Transport implementation.
- Author:
- David Melgar (dmelgar@us.ibm.com)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns Transport implementation to be used.static TransportFactory
Create a TransportFactory.static TransportFactory
Create a TransportFactory passing in configuration information in a properties object.
-
Field Details
-
PROPERTY_NAME
- See Also:
-
DEFAULT_TRANSPORT_NAME
- See Also:
-
-
Method Details
-
getTransport
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
Create a TransportFactory.- Returns:
- TransportFactory
-
newInstance
Create a TransportFactory passing in configuration information in a properties object.- Parameters:
p
- Properties- Returns:
- TransportFactory
- See Also:
-