@Version(value="1.0")
See: Description
Annotation Type | Description |
---|---|
ConfigProperty |
Binds the injection point with a configured value.
|
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:
Copyright © 2020 JBoss by Red Hat. All rights reserved.