Package org.springframework.boot.testcontainers.service.connection
package org.springframework.boot.testcontainers.service.connection
General support for service connections in tests.
-
ClassDescriptionContainerConnectionDetailsFactory<D extends ConnectionDetails,
C extends org.testcontainers.containers.Container<?>> Base class forConnectionDetailsFactory
implementations that provideConnectionDetails
from aContainerConnectionSource
.Convenient base class forConnectionDetails
results that are backed by aContainerConnectionSource
.ContainerConnectionSource<C extends org.testcontainers.containers.Container<?>>Passed toContainerConnectionDetailsFactory
to provide details of the@ServiceConnection
annotatedContainer
that provides the service.Annotation used to indicate that a field or method is aContainerConnectionSource
which provides a service that can be connected to.