@Qualifier @Documented @Target(value=FIELD) @Retention(value=RUNTIME) public @interface ConfigurableValue
parameter as being eligible for system configuration.
Annotation is used to inject configuration parameter wrapper that encapsulates system property and resource provider.
Example how to use:
@ConfigurableValue("ohf.asynch.confirmation.intervalSec") private ConfigurationItem<Integer> interval;
@AliasFor(value="key") public abstract String value
key().
Intended to be used instead of key() when key()
is not declared — for example: @ConfigurableValue("key.name") instead of
@ConfigurableValue(key = "key.name").
key()Copyright © 2018 Pivotal Software, Inc.. All rights reserved.