接口的使用
org.springframework.boot.origin.OriginProvider
使用OriginProvider的程序包
程序包
说明
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
Support for
@ConfigurationProperties
binding.Sources for external configuration properties.
Service connection support for Docker Compose.
Support for item origin tracking.
General support for service connections in tests.
-
org.springframework.boot.context.config中OriginProvider的使用
修饰符和类型类说明final class
A user specified location that can beresolved
to one or moreconfig data resources
.class
ConfigDataNotFoundException
thrown when aConfigDataLocation
cannot be found.class
ConfigDataNotFoundException
thrown when aConfigData
cannot be found.class
ConfigDataNotFoundException
thrown when aConfigDataResource
cannot be found. -
org.springframework.boot.context.properties.bind中OriginProvider的使用
-
org.springframework.boot.context.properties.source中OriginProvider的使用
修饰符和类型类说明final class
A single configuration property obtained from aConfigurationPropertySource
consisting of aname
,value
and optionalorigin
. -
org.springframework.boot.docker.compose.service.connection中OriginProvider的使用
修饰符和类型类说明protected static class
Convenient base class forConnectionDetails
results that are backed by aRunningService
. -
org.springframework.boot.origin中OriginProvider的使用
修饰符和类型类说明class
static class
Variant ofOriginTrackedResource
forWritableResource
instances.class
class
Origin
from aPropertySource
. -
org.springframework.boot.testcontainers.service.connection中OriginProvider的使用
修饰符和类型类说明protected static class
ContainerConnectionDetailsFactory.ContainerConnectionDetails<C extends org.testcontainers.containers.Container<?>>
Base class forConnectionDetails
results that are backed by aContainerConnectionSource
.final class
ContainerConnectionSource<C extends org.testcontainers.containers.Container<?>>
Passed toContainerConnectionDetailsFactory
to provide details of the@ServiceConnection
annotatedContainer
that provides the service.