Package javax.annotation
Annotation Type Resource
- 
 @Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface Resource- Since:
- Common Annotations 1.0
 
- 
- 
Optional Element SummaryOptional 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.
 
- 
- 
- 
- 
authenticationTypeResource.AuthenticationType authenticationType - Returns:
- the AuthenticationType of the resource default CONTAINER
 - Default:
- javax.annotation.Resource.AuthenticationType.CONTAINER
 
 
- 
 
-