2010/9/9 Emmanuel Bernard <emmanuel(a)hibernate.org>:
Can't do that easily. The VM won't load your annotation so
you will have to read the .class file.
you don't have to remove Solr from the classpath; actually we might
reuse all implementations which don't need to be fixed, overriding
only what is needed.
So we still load the class, and also try to invoke it's default
constructor, but if we fail we try loading the alternative.