@Qualifier @Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER,METHOD}) public @interface NamedRole
Role bean related to the name
specified on this annotation.
For instance, a managed bean might include the following code in order to get a
Role whose name is "auditor":
@Inject @NamedRole("auditor")
Role auditor;
public abstract String value
Copyright © 2015 Red Hat, Inc.. All rights reserved.