@Dependent public class ConfigProducer extends Object
Constructor and Description |
---|
ConfigProducer() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.microprofile.config.Config |
getConfig()
Producer method for the application config
|
<T> List<T> |
getListProperty(javax.enterprise.inject.spi.InjectionPoint ip)
Producer method for Lists
|
<T> Optional<T> |
getOptionalProperty(javax.enterprise.inject.spi.InjectionPoint ip)
Produces an Optional for the property specified by the ConfigProperty
and of the type specified
|
<T> Set<T> |
getSetProperty(javax.enterprise.inject.spi.InjectionPoint ip)
Producer method for Sets
|
void |
postConstruct() |
@PostConstruct public void postConstruct()
@Produces public org.eclipse.microprofile.config.Config getConfig()
@Produces public <T> Set<T> getSetProperty(javax.enterprise.inject.spi.InjectionPoint ip)
T
- Typeip
- Injection Point@Produces public <T> List<T> getListProperty(javax.enterprise.inject.spi.InjectionPoint ip)
T
- Typeip
- Injection Point@Produces public <T> Optional<T> getOptionalProperty(javax.enterprise.inject.spi.InjectionPoint ip)
T
- ip
- Copyright © 2019. All rights reserved.