Module io.helidon.config
Package io.helidon.config
Interface ConfiguredProvider<T extends NamedService>
- Type Parameters:
T- type of the service this provider provides
- All Superinterfaces:
ConfiguredProvider<T>
Providers that can be loaded from configuration should implement this interface.
-
Method Details
-
configKey
String configKey()- Specified by:
configKeyin interfaceConfiguredProvider<T extends NamedService>
-
create
Deprecated, for removal: This API element is subject to removal in a future version.usecreate(Config, String)instead- Specified by:
createin interfaceConfiguredProvider<T extends NamedService>
-
create
Create a new instance from the configuration located on the provided node.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Parameters:
config- located atconfigKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
- Since:
- 4.4.0
-
create(Config, String)instead