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

    Fields
    Modifier and Type
    Field
    Description
    static final Dependency
    Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter metaConfigSupplier.
    static final Dependency
    Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configSources.
    static final Dependency
    Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configParsers.
    static final Dependency
    Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configFilters.
    static final Dependency
    Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configMappers.
    static final Dependency
    Injection 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_WEIGHT
    Modifier and Type
    Field
    Description
    static final double
    Default weight for any weighted component (whether it implements this interface or uses Weight annotation).
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor with no side effects
  • Method Summary

    Modifier and Type
    Method
    Description
    Set 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.ConfigProvider
    instantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject)
    Create a new service instance.
    void
    preDestroy(io.helidon.config.ConfigProvider instance)
    Invoke Service.PreDestroy annotated method(s).
    The type that implements ServiceInfo.contracts().
    Scope of this service.
    Type of the service this descriptor describes.
    Provide a mapping of a contracts of this service to its contract type set.
    double
    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, wait

    Methods inherited from interface ServiceDescriptor

    inject, postConstruct
    Modifier and Type
    Method
    Description
    default void
    inject(DependencyContext ctx, InterceptionMetadata interceptionMetadata, Set<String> injected, T instance)
    Inject fields and methods.
    default void
    postConstruct(T instance)
    Invoke Service.PostConstruct annotated method(s).

    Methods inherited from interface ServiceInfo

    isAbstract, qualifiers, runLevel
    Modifier and Type
    Method
    Description
    default boolean
    Returns true for abstract classes and interfaces, returns false by default.
    default Set<Qualifier>
    Service qualifiers.
    default Optional<Double>
    Run level of this service.

    Methods inherited from interface Weighted

    compareTo
    Modifier and Type
    Method
    Description
    default int
     
  • Field Details

    • INSTANCE

      public static final ConfigProvider__ServiceDescriptor<io.helidon.config.ConfigProvider> INSTANCE
      Global singleton instance for this descriptor.
    • DEP_0

      public static final Dependency DEP_0
      Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter metaConfigSupplier.
    • DEP_1

      public static final Dependency DEP_1
      Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configSources.
    • DEP_2

      public static final Dependency DEP_2
      Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configParsers.
    • DEP_3

      public static final Dependency DEP_3
      Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configFilters.
    • DEP_4

      public static final Dependency DEP_4
      Injection point dependency for ConfigProvider(Supplier metaConfigSupplier, Supplier configSources, Supplier configParsers, Supplier configFilters, Supplier configMappers, ServiceRegistry serviceRegistry), parameter configMappers.
    • DEP_5

      public static final Dependency 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

      public TypeName serviceType()
      Description copied from interface: ServiceInfo
      Type of the service this descriptor describes.
      Specified by:
      serviceType in interface ServiceInfo
      Returns:
      service type
    • providedType

      public TypeName providedType()
      Description copied from interface: ServiceInfo
      The type that implements ServiceInfo.contracts(). If the described service is not a factory, this will be the ServiceInfo.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:
      providedType in interface ServiceInfo
      Returns:
      type this service provides; this may be an interface, or an implementation, the type will implement all ServiceInfo.contracts() of this service
    • descriptorType

      public TypeName descriptorType()
      Description copied from interface: ServiceInfo
      Type of the service descriptor (usually generated).
      Specified by:
      descriptorType in interface ServiceInfo
      Returns:
      descriptor type
    • scope

      public TypeName scope()
      Description copied from interface: ServiceDescriptor
      Scope of this service.
      Specified by:
      scope in interface ServiceDescriptor<T extends io.helidon.config.ConfigProvider>
      Specified by:
      scope in interface ServiceInfo
      Returns:
      scope of the service
    • contracts

      public Set<ResolvedType> contracts()
      Description copied from interface: ServiceInfo
      Set of contracts the described service implements or provides through a factory method.
      Specified by:
      contracts in interface ServiceInfo
      Returns:
      set of contracts
    • factoryContracts

      public Set<ResolvedType> factoryContracts()
      Description copied from interface: ServiceInfo
      Set 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:
      factoryContracts in interface ServiceInfo
      Returns:
      set of factory contracts
    • typeSet

      public Set<ResolvedType> typeSet(ResolvedType contract)
      Description copied from interface: ServiceDescriptor
      Provide a mapping of a contracts of this service to its contract type set. If the result is empty, it will be ignored.
      Specified by:
      typeSet in interface ServiceDescriptor<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

      public List<Dependency> dependencies()
      Description copied from interface: ServiceInfo
      List of dependencies required by this service. These may be injection points as constructor parameters, fields, or setter methods.
      Specified by:
      dependencies in interface ServiceInfo
      Returns:
      required dependencies
    • instantiate

      public io.helidon.config.ConfigProvider instantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject)
      Description copied from interface: ServiceDescriptor
      Create a new service instance.
      Specified by:
      instantiate in interface ServiceDescriptor<T extends io.helidon.config.ConfigProvider>
      Parameters:
      ctx__helidonInject - dependency context with all dependencies of this service
      interceptMeta__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: ServiceDescriptor
      Invoke Service.PreDestroy annotated method(s).
      Specified by:
      preDestroy in interface ServiceDescriptor<T extends io.helidon.config.ConfigProvider>
      Parameters:
      instance - instance to use
    • weight

      public double weight()
      Description copied from interface: Weighted
      Weight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use the Weight annotation rather than implementing this interface as long as it is supported by the library using this Weighted.
      Specified by:
      weight in interface Weighted
      Returns:
      the weight of this service, must be a non-negative number
    • factoryType

      public FactoryType factoryType()
      Description copied from interface: ServiceInfo
      What factory type is the described service. Inject services can be any of the types in the enum.
      Specified by:
      factoryType in interface ServiceInfo
      Returns:
      factory type