You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by Mark Struberg <st...@yahoo.de> on 2012/05/12 06:45:26 UTC

using getBeans for ServiceProvider like lookups

Hi folks!

I saw/heard already a few times that BeanProvider#getBeans() got used to pickup instances in a ServiceLoader like way.
But this is a pretty tricky solution and has quite a few side effects, thus I finally wrote it up as a blog:

http://struberg.wordpress.com/2012/05/11/the-tricky-cdi-serviceprovider-pattern/


LieGrue,
strub