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 well. Looking at MetadataSources#buildJandexView() I suppose that Jandex indexes all annotations applied, not just a predefined subset (JPA), so there would be no need for Envers to create its own index. I am researching other Envers tasks, so no need to rush with the decision.
Regards, Lukasz 2012/9/8 Hardy Ferentschik <ha...@hibernate.org>: > 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 <lukasz.anton...@gmail.com> wrote: > >> Hello Steve, >> >> Just wanted to let you know that I am trying to migrate Envers to new >> metamodel. I have asked below question on IRC, but without any >> response. At the moment Envers locates its annotations (for example >> @Audited) using ReflectionManager. What would be the preferable way of >> achieving this in metamodel branch? Shall I use >> EntityBinding#getClassReference() method and standard reflection API? >> Just a hint, please :). >> >> Regards, >> Lukasz >> >> 2012/8/24 Steve Ebersole <st...@hibernate.org>: >>> Lukasz, as always, any help you can give is appreciated! Whenever you have >>> time. We have a temporary solution that will isolate needed changes to just >>> Envers. Basically the changes at some point will be using the JAXB binding >>> model rather than DOM. >>> >>> >>> On Fri 24 Aug 2012 01:55:55 AM CDT, Łukasz Antoniak wrote: >>>> >>>> Hello Steve, >>>> >>>> I think I could start working on metamodel branch at the beginning of >>>> September. Is it acceptable for you? I don't want to postpone 4.1.7 >>>> release. JIRA task has been already registered: >>>> https://hibernate.onjira.com/browse/HHH-7490. >>>> >>>> Best Regards, >>>> Lukasz >>>> >>>> >>>> __________ Information from ESET NOD32 Antivirus, version of virus >>>> signature database 7412 (20120823) __________ >>>> >>>> The message was checked by ESET NOD32 Antivirus. >>>> >>>> http://www.eset.com >>>> >>>> >>> >>> -- >>> st...@hibernate.org >>> http://hibernate.org >> >> _______________________________________________ >> hibernate-dev mailing list >> hibernate-dev@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/hibernate-dev _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev