Class GenericConfig<X extends Annotation>

    • Field Detail

      • CONFIG_PARAMS_CACHE_KEY

        public static final String CONFIG_PARAMS_CACHE_KEY
        This config property key can be used to disable config parameters caching. If disabled, properties are resolved every time a config parameter is needed.
        See Also:
        Constant Field Values
      • beanClass

        protected final Class<?> beanClass
      • method

        protected final Method method
      • annotation

        protected final X extends Annotation annotation
      • annotatedMethod

        protected final javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod
      • annotationSource

        protected final ElementType annotationSource
    • Method Detail

      • get

        public <U> U get​(String key)
      • get

        public <U> U get​(String key,
                         Class<U> expectedType)
      • validate

        public abstract void validate()
      • getConfigKeyForMethod

        protected String getConfigKeyForMethod()
      • getConfigKeyForClass

        protected String getConfigKeyForClass()
      • getMethodInfo

        public String getMethodInfo()
      • getConfig

        protected static org.eclipse.microprofile.config.Config getConfig()
      • getKeysToType

        protected abstract Map<String,​Class<?>> getKeysToType()