# Package org.eclipse.microprofile.config.inject

@Version("2.0") package org.eclipse.microprofile.config.inject
CDI Support for MicroProfile Config

MicroProfile Config also supports injection via a JSR-330 DI container:

      @Inject
      @ConfigProperty(name="myproject.some.endpoint.url");
      private String restUrl;

The following types can be injected:

- `T` where T is a Type where a `Converter` exists and the property must exist.
- `Optional<T>` where T is a Type where a `Converter` exists where the property may exist.
- `Provider<T>` where T is a Type where a `Converter` exists where the property may exist.

Author:
  Mark Struberg, Emily Jiang

Related Packages
Package
Description
org.eclipse.microprofile.config
Configuration for Java MicroProfile
org.eclipse.microprofile.config.spi
This package contains classes which are used to implement the configuration API, and to extend the standard configuration functionality in a portable way.
Class
Description
ConfigProperties
Retrieve a number of related configuration properties with the specified prefix into a property class.
ConfigProperties.Literal
Support inline instantiation of the `ConfigProperties` qualifier.
ConfigProperty
Binds the injection point with a configured value.