Package jakarta.annotation
Annotation Type Resource
-
@Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) @Repeatable(Resources.class) public @interface Resource- Since:
- Common Annotations 1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Resource.AuthenticationTypeauthenticationTypejava.lang.Stringdescriptionjava.lang.Stringlookupjava.lang.StringmappedNamejava.lang.Stringnamebooleanshareablejava.lang.Class<?>typeUses generics since Common Annotations 1.2.
-
-
-
-
authenticationType
Resource.AuthenticationType authenticationType
- Returns:
- the AuthenticationType of the resource default CONTAINER
- Default:
- jakarta.annotation.Resource.AuthenticationType.CONTAINER
-
-