public abstract class GenericConfig<X extends Annotation> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.enterprise.inject.spi.AnnotatedMethod<?> |
annotatedMethod |
protected X |
annotation |
protected ElementType |
annotationSource |
protected Class<X> |
annotationType |
protected Class<?> |
beanClass |
static String |
CONFIG_PARAMS_CACHE_KEY
This config property key can be used to disable config parameters caching.
|
protected Method |
method |
| Modifier and Type | Method and Description |
|---|---|
<U> U |
get(String key) |
<U> U |
get(String key,
Class<U> expectedType) |
protected static org.eclipse.microprofile.config.Config |
getConfig() |
protected String |
getConfigKeyForClass() |
protected String |
getConfigKeyForMethod() |
protected abstract Map<String,Class<?>> |
getKeysToType() |
String |
getMethodInfo() |
abstract void |
validate() |
public static final String CONFIG_PARAMS_CACHE_KEY
protected final Class<?> beanClass
protected final Method method
protected final X extends Annotation annotation
protected final Class<X extends Annotation> annotationType
protected final javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod
protected final ElementType annotationSource
public <U> U get(String key)
public abstract void validate()
protected String getConfigKeyForMethod()
protected String getConfigKeyForClass()
public String getMethodInfo()
protected static org.eclipse.microprofile.config.Config getConfig()
Copyright © 2018–2020. All rights reserved.