Package org.springframework.boot.testcontainers.service.connection
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 forConnectionDetailsFactory
implementations that provideConnectionDetails
from aContainerConnectionSource
.ContainerConnectionDetailsFactory.ContainerConnectionDetails<C extends org.testcontainers.containers.Container<?>>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.