New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancing @Stateless, @Stateful and @Singleton annotations with ElementType.ANNOTATION_TYPE #12

Open
glassfishrobot opened this Issue Jun 18, 2011 · 5 comments

Comments

Projects
None yet
2 participants
@glassfishrobot

glassfishrobot commented Jun 18, 2011

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

@glassfishrobot

This comment has been minimized.

Show comment
Hide comment
@glassfishrobot

glassfishrobot Jun 18, 2011

Reported by abien

glassfishrobot commented Jun 18, 2011

Reported by abien

@glassfishrobot

This comment has been minimized.

Show comment
Hide comment
@glassfishrobot

glassfishrobot commented Aug 30, 2012

mvatkina said:
This is being discussed in the Java EE platform EG: http://java.net/projects/javaee-spec/lists/jsr342-experts/archive/2012-08/message/20

@glassfishrobot

This comment has been minimized.

Show comment
Hide comment
@glassfishrobot

glassfishrobot Oct 27, 2012

mvatkina said:
Reopening to move to java-ee project

glassfishrobot commented Oct 27, 2012

mvatkina said:
Reopening to move to java-ee project

@glassfishrobot

This comment has been minimized.

Show comment
Hide comment
@glassfishrobot

glassfishrobot Jan 24, 2013

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

glassfishrobot commented Jan 24, 2013

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

@glassfishrobot

This comment has been minimized.

Show comment
Hide comment
@glassfishrobot

glassfishrobot Apr 25, 2017

This issue was imported from java.net JIRA JAVAEE_SPEC-12

glassfishrobot commented Apr 25, 2017

This issue was imported from java.net JIRA JAVAEE_SPEC-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment