Issue Details (XML | Word | Printable)

Key: GLASSFISH-20532
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: paul_parkinson
Reporter: paul.robinson
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glassfish

@Priority incorrect on TransactionalInterceptor*

Created: 15/May/13 12:53 PM   Updated: 24/May/13 04:51 PM   Resolved: 24/May/13 04:51 PM
Component/s: jts
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags:
Participants: paul.robinson and paul_parkinson


 Description  « Hide

In TransactionalInterceptorMandatory and all it's siblings, the @javax.annotation.Priority seems to be wrong. The spec states:

The Transactional interceptors must have a priority of Interceptor.Priority.PLATFORM_BEFORE+200

Instead it is set to "Interceptor.Priority.LIBRARY_BEFORE + 10". See here for one example:

https://java.net/projects/glassfish/sources/svn/content/trunk/main/appserver/web/weld-integration/src/main/java/org/glassfish/cdi/transaction/TransactionalInterceptorMandatory.java?rev=61989

I think it might have been a copy-and-paste error as I saw "Interceptor.Priority.LIBRARY_BEFORE + 10" used in the JavaDoc as an example.



No work has yet been logged on this issue.