On 31 Jan 2012, at 10:49 PM, Strong Liu wrote:
maybe we should move the annotation indexing from
org.hibernate.metamodel.internal.source.annotations.AnnotationMetadataSourceProcessorImpl#AnnotationMetadataSourceProcessorImpl
into MetadataSources ( for hbm, it can be get by
org.hibernate.metamodel.MetadataSources#getJaxbRootList)
Right. I think we need to create the Jandex Index in MetadataSources
and add a new interface MetadataContributingIntegrator and hook this
into org.hibernate.metamodel.internal.MetadataImpl#MetadataImpl
not sure I follow, but I guess that is just a way to give the integrator access to the
index, right?
--Hardy