Currently, Hibernate 4.3 is building its own Jandex IndexView [2] but we
could probably build/pass one in (via "hibernate.jandex_index"), so that
Hibernate won't build its own indexes anymore. We discussed doing this
for integrating with Hibernate 5.0 (WFLY-3291) but the same should also
work for 4.3.x.
We cannot pass our Jandex indexes into Hibernate until the
deployment-service-restart changes are merged into WildFly (or something
like that). On a partial restart, we will need access to the Jandex
indexes, which need to be rebuilt (as already pointed out by Jason on
this thread).