javax.annotation
Annotation Type Resource


@Target(value={TYPE,FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Resource

Version:
$Rev: 489255 $ $Date: 2006-12-21 04:20:05 +0100 (Thu, 21 Dec 2006) $

Optional Element Summary
 Resource.AuthenticationType authenticationType
           
 java.lang.String description
           
 java.lang.String mappedName
           
 java.lang.String name
           
 boolean shareable
           
 java.lang.Class type
           
 

name

public abstract java.lang.String name
Default:
""

type

public abstract java.lang.Class type
Default:
java.lang.Object.class

authenticationType

public abstract Resource.AuthenticationType authenticationType
Default:
javax.annotation.Resource.AuthenticationType.CONTAINER

shareable

public abstract boolean shareable
Default:
true

mappedName

public abstract java.lang.String mappedName
Default:
""

description

public abstract java.lang.String description
Default:
""


Copyright © 2008. All Rights Reserved.