Interface ConnectionDetailsFactory<S,D extends ConnectionDetails>
- Type Parameters:
S- the source type accepted by the factory. Implementations are expected to provide a validtoString.D- the type ofConnectionDetailsproduced by the factory
- All Known Implementing Classes:
ContainerConnectionDetailsFactory,DockerComposeConnectionDetailsFactory
public interface ConnectionDetailsFactory<S,D extends ConnectionDetails>
A factory to create
ConnectionDetails from a given source.
Implementations should be registered in META-INF/spring.factories.- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptiongetConnectionDetails(S source) Get theConnectionDetailsfrom the givensource.
-
Method Details
-
getConnectionDetails
- Parameters:
source- the source- Returns:
- the connection details or
null
-