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(gio, 21 dic 2006) $

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

name

public abstract String name
Default:
""

type

public abstract 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 String mappedName
Default:
""

description

public abstract String description
Default:
""


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.