接口 ConnectionDetailsFactory<S,D extends ConnectionDetails>

类型参数:
S - the source type accepted by the factory. Implementations are expected to provide a valid toString.
D - the type of ConnectionDetails produced by the factory
所有已知实现类:
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.
从以下版本开始:
3.1.0
作者:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • 方法详细资料

    • getConnectionDetails

      D getConnectionDetails(S source)
      Get the ConnectionDetails from the given source. May return null if no details can be created.
      参数:
      source - the source
      返回:
      the connection details or null