Package org.springframework.boot.testcontainers.service.connection
@NullMarked
package org.springframework.boot.testcontainers.service.connection
General support for service connections in tests.
-
ClassDescriptionContainerConnectionDetailsFactory<C extends org.testcontainers.containers.Container<?>, D extends ConnectionDetails>Base class for
ConnectionDetailsFactoryimplementations 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.