Closed glassfishrobot closed 7 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.
Reported by antoinesd
ldemichiel said: Fixed in Common Annotations 1.3 MR
This issue was imported from java.net JIRA JAVAEE_SPEC-48
Marked as fixed on Wednesday, February 8th 2017, 3:36:53 pm
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:
Right now tt>@Priority</tt targets only types. We need it to be enhance to also support parameters as target.