@Version(value="2.0")
See: Description
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:
Copyright © 2016 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.