Module io.helidon.common.config
Package io.helidon.common.config
Interface ConfiguredProvider<T extends NamedService>
- Type Parameters:
T- type of the service this provider provides
- All Known Subinterfaces:
ConfiguredProvider<T>,ContentEncodingProvider,DataSourceConfigProvider,GrpcClientServiceProvider,GrpcServerServiceProvider,JdbcConnectionPoolProvider,LimitProvider,MediaSupportProvider,MetricsPublisherProvider,ObserveProvider,OpenApiManagerProvider,OpenApiServiceProvider,ProtocolConfigProvider<T>,ProtocolConfigProvider<T>,ServerFeatureProvider<T>,TlsManagerProvider,WebClientServiceProvider
- All Known Implementing Classes:
AccessLogFeatureProvider,AimdLimitProvider,ConfigObserveProvider,ContextFeatureProvider,CorsFeatureProvider,DefaultOciCertificatesTlsManagerProvider,DeflateEncodingProvider,EurekaRegistrationServerFeatureProvider,FixedLimitProvider,GrpcClientTracingProvider,GrpcProtocolConfigProvider,GrpcReflectionFeatureProvider,GrpcTracingServiceProvider,GsonMediaSupportProvider,GzipEncodingProvider,HealthObserveProvider,HikariConnectionPoolProvider,HikariDataSourceConfigProvider,Http1ProtocolConfigProvider,Http1ProtocolConfigProvider,Http2ProtocolConfigProvider,Http2ProtocolConfigProvider,InfoObserveProvider,JacksonMediaSupportProvider,JdbcDataSourceConfigProvider,JsonBindingMediaSupportProvider,JsonbMediaSupportProvider,JsonMediaSupportProvider,JsonpMediaSupportProvider,LimitsFeatureProvider,LogObserveProvider,MetricsObserveProvider,MultiPartSupportProvider,ObserveFeatureProvider,OpenApiFeatureProvider,OpenApiUiProvider,OtlpPublisherProvider,PrometheusPublisherProvider,RequestScopeFeatureProvider,SecurityFeatureProvider,StaticContentFeatureProvider,ThroughputLimitProvider,TracingObserveProvider,UcpDataSourceConfigProvider,WebClientContextServiceProvider,WebClientDiscoveryProvider,WebClientMetricsProvider,WebClientSecurityProvider,WebClientTelemetryProvider,WebClientTracingProvider,WebServerValidationFeatureProvider,WsProtocolConfigProvider,WsProtocolConfigProvider
@Deprecated(since="4.3.0",
forRemoval=true)
public interface ConfiguredProvider<T extends NamedService>
Deprecated, for removal: This API element is subject to removal in a future version.
Providers that can be loaded from configuration should implement this interface.
The configuration is expected to be similar to this (using YAML as an example):
configured-option:
discover-services: true # this is the default
providers:
provider1-config-key:
provider1-config: value
provider2-config-key:
provider2-config: value
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Key this service implementation is stored under.Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance from the configuration located on the provided node.
-
Method Details
-
configKey
String configKey()Deprecated, for removal: This API element is subject to removal in a future version.Key this service implementation is stored under. This is also considered the service "type" when used in a list in configuration, to allow the same service defined more than once.- Returns:
- key of this implementation
-
create
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance from the configuration located on the provided node.- Parameters:
config- located atconfigKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
-
io.helidon.config.ConfiguredProviderinstead