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