程序包 org.springframework.boot.testcontainers.service.connection
package org.springframework.boot.testcontainers.service.connection
General support for service connections in tests.
-
类说明ContainerConnectionDetailsFactory<C extends org.testcontainers.containers.Container<?>,
D extends ConnectionDetails> Base class forConnectionDetailsFactoryimplementations that provideConnectionDetailsfrom aContainerConnectionSource.ContainerConnectionDetailsFactory.ContainerConnectionDetails<C extends org.testcontainers.containers.Container<?>>Base class forConnectionDetailsresults that are backed by aContainerConnectionSource.ContainerConnectionSource<C extends org.testcontainers.containers.Container<?>>Passed toContainerConnectionDetailsFactoryto provide details of the@ServiceConnectionannotatedContainerthat provides the service.Indicates that a field or method is aContainerConnectionSourcewhich provides a service that can be connected to.Configures theSslOptions,@SslBundleKeyandprotocolto use with anSSLsupported@ServiceConnection.