Top Description Annotations
module org.eclipse.microprofile.config

Package org.eclipse.microprofile.config.inject

Annotations
@Version:2.0

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:

Authors
Mark Struberg, Emily Jiang

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
ConfigProperties

Retrieve a number of related configuration properties with the specified prefix into a property class.

public @interface
ConfigProperty

Binds the injection point with a configured value.