Only ask CDI if at least one bean is found
Merge pull request #283 from caelum/ot-call-cdi-only-if-beans-are-found

Only ask CDI if at least one bean is found