This commit is contained in:
Redkale
2017-10-25 09:26:57 +08:00
parent b8c85284ab
commit f633e72c5f

View File

@@ -21,16 +21,12 @@ public @interface Resource {
APPLICATION
}
public String name() default "";
/**
* Uses generics since Common Annotations 1.2.
*/
public Class<?> type() default Object.class;
public AuthenticationType authenticationType() default AuthenticationType.CONTAINER;
public boolean shareable() default true;
public String description() default "";
public String mappedName() default "";
/**
* @since Common Annotations 1.1
*/
public String lookup() default "";
}