Class | Description |
---|---|
ConfigProperties.Literal |
Support inline instantiation of the
ConfigProperties qualifier. |
Annotation Type | Description |
---|---|
ConfigProperties |
Retrieve a number of related configuration properties with the specified prefix into a property class.
|
ConfigProperty |
Binds the injection point with a configured value.
|
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: