javax.annotation
Annotation Type Resource


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


Optional Element Summary
 Resource.AuthenticationType authenticationType
           
 java.lang.String description
           
 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:
CONTAINER

shareable

public abstract boolean shareable
Default:
true

description

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


Copyright 2006 Interface21. All Rights Reserved.