Automatic configuration

Luca Vercelli

Dear group,

I would like to tell hk2 something like this:
"Every class must bind to itself, if not differently specified"
"Every class in a particular package must bind to itself"
Is this possible, out of the box? I was able to obtain the second result using the Reflections framework, however it is slow. I think Glassfish uses the first approach.


Join to automatically receive all group messages.