Package jakarta.annotation
Annotation Type Resource
-
@Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface Resource
- Since:
- Common Annotations 1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Resource.AuthenticationType
authenticationType
java.lang.String
description
java.lang.String
lookup
java.lang.String
mappedName
java.lang.String
name
boolean
shareable
java.lang.Class<?>
type
Uses generics since Common Annotations 1.2.
-
-
-
-
authenticationType
Resource.AuthenticationType authenticationType
- Returns:
- the AuthenticationType of the resource default CONTAINER
- Default:
- jakarta.annotation.Resource.AuthenticationType.CONTAINER
-
-