Skip to main content

[javaee-spec issues] [JIRA] Commented: (JAVAEE_SPEC-12) Enhancing @Stateless, @Stateful and @Singleton annotations with ElementType.ANNOTATION_TYPE

  • From: "ldemichiel (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [javaee-spec issues] [JIRA] Commented: (JAVAEE_SPEC-12) Enhancing @Stateless, @Stateful and @Singleton annotations with ElementType.ANNOTATION_TYPE
  • Date: Thu, 24 Jan 2013 20:28:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


    [ 
http://java.net/jira/browse/JAVAEE_SPEC-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354293#action_354293
 ] 

ldemichiel commented on JAVAEE_SPEC-12:
---------------------------------------

As discussed in the expert group, we would like to address the topic of 
expanded "stereotype"/"metatype" support in Java EE 8.


> Enhancing @Stateless, @Stateful and @Singleton annotations with 
> ElementType.ANNOTATION_TYPE
> -------------------------------------------------------------------------------------------
>
>                 Key: JAVAEE_SPEC-12
>                 URL: http://java.net/jira/browse/JAVAEE_SPEC-12
>             Project: javaee-spec
>          Issue Type: New Feature
>            Reporter: abien
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[javaee-spec issues] [JIRA] Commented: (JAVAEE_SPEC-12) Enhancing @Stateless, @Stateful and @Singleton annotations with ElementType.ANNOTATION_TYPE

ldemichiel (JIRA) 01/24/2013
 
 
Close
loading
Please Confirm
Close