javaee / javaee-spec

Java EE Platform Specification
https://javaee.github.io/javaee-spec
Other
389 stars 69 forks source link

CDI 2.0 needs a MR of JSR 250 #48

Closed glassfishrobot closed 7 years ago

glassfishrobot commented 9 years ago

In CDI 2.0 EDR1 we added event observer ordering. The proposed feature is based on tt>@Priority</tt annotation from commons annotation.

We propose to use besides the tt>@Observes</tt annotation, at parameter level.

Like this:

void afterLogin(@Observes @Priority(APPLICATION) LoggedInEvent event) { ... }

Right now tt>@Priority</tt targets only types. We need it to be enhance to also support parameters as target.

glassfishrobot commented 9 years ago

Reported by antoinesd

glassfishrobot commented 7 years ago

ldemichiel said: Fixed in Common Annotations 1.3 MR

glassfishrobot commented 7 years ago

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

glassfishrobot commented 7 years ago

Marked as fixed on Wednesday, February 8th 2017, 3:36:53 pm