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 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.Annotation used to indicate that a field or method is aContainerConnectionSourcewhich provides a service that can be connected to.