On 16 Jun 2011, at 09:22, Adam Bien wrote:
> Hi,
>
> currently the @Stateless, @Stateful annotations look like:
>
> @Target(value = {ElementType.TYPE})
> @Retention(value = RetentionPolicy.RUNTIME)
> public @interface Stateless {}
>
>
> I would like to extend the @Target of all @Stateless, @Stateful, @Singleton beans to:
>
> @Target(value = {ElementType.TYPE,*ElementType.ANNOTATION_TYPE*})
>
> (add ElementType.ANNOTATION_TYPE)
>
> This would allow to use EJB meta-annotations in CDI @Stereotype definition,
I'm not sure what use this is, without also requiring EJB containers to also look on stereotypes?