/* * Decompiled with CFR 0.152. */ package javax.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(value={ElementType.TYPE, ElementType.FIELD, ElementType.METHOD}) @Retention(value=RetentionPolicy.RUNTIME) public @interface Resource { public String name() default ""; public String lookup() default ""; public Class type() default Object.class; public AuthenticationType authenticationType() default AuthenticationType.CONTAINER; public boolean shareable() default true; public String mappedName() default ""; public String description() default ""; public static enum AuthenticationType { CONTAINER, APPLICATION; } }