Package org.ldaptive.transport
Class TransportFactory
- java.lang.Object
-
- org.ldaptive.transport.TransportFactory
-
public final class TransportFactory extends Object
Factory for creating connection transports.
-
-
Field Summary
Fields Modifier and Type Field Description private static Logger
LOGGER
Logger for this class.private static DelegateTransportFactory
TRANSPORT_FACTORY
Used to create transports.private static String
TRANSPORT_FACTORY_PROPERTY
Transport factory system property.
-
Constructor Summary
Constructors Modifier Constructor Description private
TransportFactory()
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Transport
getTransport(ThreadPoolConfig config)
Returns a transport for the supplied transport configuration.
-
-
-
Field Detail
-
TRANSPORT_FACTORY_PROPERTY
private static final String TRANSPORT_FACTORY_PROPERTY
Transport factory system property.- See Also:
- Constant Field Values
-
LOGGER
private static final Logger LOGGER
Logger for this class.
-
TRANSPORT_FACTORY
private static final DelegateTransportFactory TRANSPORT_FACTORY
Used to create transports.
-
-
Method Detail
-
getTransport
public static Transport getTransport(ThreadPoolConfig config)
Returns a transport for the supplied transport configuration.- Parameters:
config
- transport configuration- Returns:
- transport
-
-