[hibernate-dev] Jandex, scanning and discovery

Hardy Ferentschik hardy at hibernate.org
Thu Apr 24 17:34:41 EDT 2014

On 24 Jan 2014, at 23:25, Steve Ebersole <steve at hibernate.org> wrote:

> I'd like to suggest one change in scanning to support this as well.  Currently when the Scanner finds a Class, or package-info, etc it immediately checks the "options" to see if this entry can be accepted (essentially according to the PU).  I'd rather change this up so that the collector is notified as soon as we find an entry.  This would allow the collector to index the entry in Jandex no matter what and to decide what else to do with it (add it list of managed classes, etc).

+1, as you say, I think we get more benefit out of the Jandex index if we index all entries/classes.


More information about the hibernate-dev mailing list