dev@glassfish.java.net

Re: javax.annotation.Resource has incorrect member

From: Changshin Lee <iasandcb_at_gmail.com>
Date: Fri, 16 Dec 2005 17:12:36 +0900

One more thing: where JSR 250 API source code is maintained? Could we
have it open and public in java.net?

Cheers,

Ias

On Dec 16, 2005, at 4:33 PM, Wonseok Kim wrote:

> Glassfish has incorrect @javax.annotation.Resource annotation class.
>
> Resource.authentication() member should be
> *Resource.authenticationType()* according to JSR-250 PFD spec.
>
> JSR250 PFD says:
>
> public @interface Resource {
> public enum AuthenticationType {
> CONTAINER,
> APPLICATION
> }
> String name() default ““;
> Class type() default Object.class;
> AuthenticationType authenticationType() default
> AuthenticationType.CONTAINER;
> boolean shareable() default true;
> String description() default ““;
> }
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>