Re: [hibernate-dev] envers / new metamodel

2012-09-08 Thread Łukasz Antoniak
Hello Hardy, Thank you for the clarification. This is what I thought initially by looking at the code. I have reviewed the relevant mailing list topic, and would agree that Jandex repository should be passed to integrator somehow. Other Hibernate extensions probably introduce custom annotations as

Re: [hibernate-dev] envers / new metamodel

2012-09-08 Thread Hardy Ferentschik
Should have mentioned to look at Index, ClassInfo and AnnotationInstance to get a feel for the Jandex API. You find the Jandex project on Github - https://github.com/jbossas/jandex. I don't think there is a project website yet. --hardy On 7 Sep 2012, at 22:05, Łukasz Antoniak wrote: > Hello

Re: [hibernate-dev] envers / new metamodel

2012-09-08 Thread Hardy Ferentschik
Hi Lukasz, The metamodel branch makes use of Jandex which is a sort of a annotation repository/index (used also by AS). All annotated classes get added to this index. I would expect that Envers uses this as well. Either by creating its own Jandex index (probably not so good idea) or by reusing