Hi Romain Thanks a lot for the answer. I will look at this class.
-Ralf On 25.03.13 21:31 Romain Manni-Bucau wrote: all are here http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/rules/ some checks are elsewhere in the code because it is easier or not possible otherwise, your validation is done in http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java (look for invalidConcurrencyAttribute) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/3/25 [email protected] <[email protected]> Hello I worked a little bit and tried to get and learn the internals and have therefore a couple of questions related to this sub task 48 Validation ConcurrencyManagement. Here are my (beginner) questions: 1) What to validate? I think it is just: @ConcurrencyManagement (concurrency-management-type). 2) Severity level? I see that other validators log wrongly used annotations as warnings, so I guess warnings are fine. 3) I found the validator test class CheckInvalidConcurrencyAttributeTest that already checks the lock type. The test runs successfully but I can't find the corresponding validator class. A search with eclipse didn't find a class. Can you give me hints where I can find the class:-) Would you like to extend this class instead of creating a new one? Thanks Ralf
