1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//Copyright Sun Microsystems Inc. 2004 - 2005. package javax.annotation; import java.lang.annotation.*; import static java.lang.annotation.ElementType.*; import static java.lang.annotation.RetentionPolicy.*; /** * This class is used to allow multiple resources declarations. * * @see javax.annotation.Resource * @since Common Annotations 1.0 */ @Documented @Retention(RUNTIME) @Target(TYPE) public @interface Resources { /** * Array used for multiple resource declarations. */ Resource[] value(); }