Class ConfigProvider__ServiceDescriptor<T extends io.helidon.config.ConfigProvider>
java.lang.Object
io.helidon.config.ConfigProvider__ServiceDescriptor<T>
- Type Parameters:
T- type of the service, for extensibility
- All Implemented Interfaces:
Weighted, ServiceDescriptor<T>, ServiceInfo, Comparable<Weighted>
public class ConfigProvider__ServiceDescriptor<T extends io.helidon.config.ConfigProvider>
extends Object
implements ServiceDescriptor<T>
Service descriptor for
ConfigProvider.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DependencyInjection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter metaConfigSupplier.static final DependencyInjection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configSources.static final DependencyInjection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configParsers.static final DependencyInjection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configFilters.static final DependencyInjection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configMappers.static final DependencyInjection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter serviceRegistry.static final ConfigProvider__ServiceDescriptor<io.helidon.config.ConfigProvider> Global singleton instance for this descriptor.Fields inherited from interface Weighted
DEFAULT_WEIGHTModifier and TypeFieldDescriptionstatic final doubleDefault weight for any weighted component (whether it implements this interface or usesWeightannotation). -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor with no side effects -
Method Summary
Modifier and TypeMethodDescriptionSet of contracts the described service implements or provides through a factory method.List of dependencies required by this service.Type of the service descriptor (usually generated).Set of contracts that identify the factory provider itself.What factory type is the described service.io.helidon.config.ConfigProviderinstantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject) Create a new service instance.voidpreDestroy(io.helidon.config.ConfigProvider instance) InvokeService.PreDestroyannotated method(s).The type that implementsServiceInfo.contracts().scope()Scope of this service.Type of the service this descriptor describes.typeSet(ResolvedType contract) Provide a mapping of a contracts of this service to its contract type set.doubleweight()Weight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServiceDescriptor
inject, postConstructModifier and TypeMethodDescriptiondefault voidinject(DependencyContext ctx, InterceptionMetadata interceptionMetadata, Set<String> injected, T instance) Inject fields and methods.default voidpostConstruct(T instance) InvokeService.PostConstructannotated method(s).Methods inherited from interface ServiceInfo
isAbstract, qualifiers, runLevelModifier and TypeMethodDescriptiondefault booleanReturnstruefor abstract classes and interfaces, returnsfalseby default.Service qualifiers.runLevel()Run level of this service.
-
Field Details
-
INSTANCE
Global singleton instance for this descriptor. -
DEP_0
Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter metaConfigSupplier. -
DEP_1
Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configSources. -
DEP_2
Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configParsers. -
DEP_3
Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configFilters. -
DEP_4
Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configMappers. -
DEP_5
Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter serviceRegistry.
-
-
Constructor Details
-
ConfigProvider__ServiceDescriptor
protected ConfigProvider__ServiceDescriptor()Constructor with no side effects
-
-
Method Details
-
serviceType
Description copied from interface:ServiceInfoType of the service this descriptor describes.- Specified by:
serviceTypein interfaceServiceInfo- Returns:
- service type
-
providedType
Description copied from interface:ServiceInfoThe type that implementsServiceInfo.contracts(). If the described service is not a factory, this will be theServiceInfo.serviceType(). If the described service is a factory, this will be the type in its factory declaration, i.e. the type it supplies, or the type of the services factory.- Specified by:
providedTypein interfaceServiceInfo- Returns:
- type this service provides; this may be an interface, or an implementation, the type will implement all
ServiceInfo.contracts()of this service
-
descriptorType
Description copied from interface:ServiceInfoType of the service descriptor (usually generated).- Specified by:
descriptorTypein interfaceServiceInfo- Returns:
- descriptor type
-
scope
Description copied from interface:ServiceDescriptorScope of this service.- Specified by:
scopein interfaceServiceDescriptor<T extends io.helidon.config.ConfigProvider>- Specified by:
scopein interfaceServiceInfo- Returns:
- scope of the service
-
contracts
Description copied from interface:ServiceInfoSet of contracts the described service implements or provides through a factory method.- Specified by:
contractsin interfaceServiceInfo- Returns:
- set of contracts
-
factoryContracts
Description copied from interface:ServiceInfoSet of contracts that identify the factory provider itself. These contracts are distinct from contracts of services provided by the factory. If the service is not a factory, this set is empty.- Specified by:
factoryContractsin interfaceServiceInfo- Returns:
- set of factory contracts
-
typeSet
Description copied from interface:ServiceDescriptorProvide a mapping of a contracts of this service to its contract type set. If the result is empty, it will be ignored.- Specified by:
typeSetin interfaceServiceDescriptor<T extends io.helidon.config.ConfigProvider>- Parameters:
contract- contract to get types for- Returns:
- type map for each type that is a contract of this service
-
dependencies
Description copied from interface:ServiceInfoList of dependencies required by this service. These may be injection points as constructor parameters, fields, or setter methods.- Specified by:
dependenciesin interfaceServiceInfo- Returns:
- required dependencies
-
instantiate
public io.helidon.config.ConfigProvider instantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject) Description copied from interface:ServiceDescriptorCreate a new service instance.- Specified by:
instantiatein interfaceServiceDescriptor<T extends io.helidon.config.ConfigProvider>- Parameters:
ctx__helidonInject- dependency context with all dependencies of this serviceinterceptMeta__helidonInject- metadata handler for interception- Returns:
- a new instance, must be of the type T or a subclass
-
preDestroy
public void preDestroy(io.helidon.config.ConfigProvider instance) Description copied from interface:ServiceDescriptorInvokeService.PreDestroyannotated method(s).- Specified by:
preDestroyin interfaceServiceDescriptor<T extends io.helidon.config.ConfigProvider>- Parameters:
instance- instance to use
-
weight
public double weight()Description copied from interface:WeightedWeight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use theWeightannotation rather than implementing this interface as long as it is supported by the library using thisWeighted. -
factoryType
Description copied from interface:ServiceInfoWhat factory type is the described service. Inject services can be any of the types in theenum.- Specified by:
factoryTypein interfaceServiceInfo- Returns:
- factory type
-