@Qualifier @Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER,METHOD}) public @interface NamedSetting
For instance, a managed bean might include the following code in order to get a setting with the key "hawkular.user.settings.preferredEmail":
@Inject @NamedSetting("hawkular.user.settings.preferredEmail")
String preferredEmail;
public abstract String value
Copyright © 2015 Red Hat, Inc.. All rights reserved.