You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch provides a Guice based JNDI provider. While Guice Ioc is a general replacement for
JNDI - there are times when developers need to work with JNDI (e.g. for JSR250/EJB3 or legacy
reasons) and sometimes there is value in some kind of Registry or Service Locator pattern.
So this patch provides a JNDI provider which uses Guice to create an Injector from one or more
modules and then exposes the bindings from the injector into JNDI. This lets you use Guice to
fully create the entire JNDI context in a simple easy way letting folks use Guice for all their IoC
needs while using JNDI if it is required.
I can't create wiki documents in guice so for now I've created a wiki document in another project
to describe how to use this JNDI provider and how to bind Guice bindings to JNDI https://code.google.com/p/camel-extra/wiki/GuiceJndi
From james.strachan on October 09, 2008 07:26:34
This patch provides a Guice based JNDI provider. While Guice Ioc is a general replacement for
JNDI - there are times when developers need to work with JNDI (e.g. for JSR250/EJB3 or legacy
reasons) and sometimes there is value in some kind of Registry or Service Locator pattern.
So this patch provides a JNDI provider which uses Guice to create an Injector from one or more
modules and then exposes the bindings from the injector into JNDI. This lets you use Guice to
fully create the entire JNDI context in a simple easy way letting folks use Guice for all their IoC
needs while using JNDI if it is required.
I can't create wiki documents in guice so for now I've created a wiki document in another project
to describe how to use this JNDI provider and how to bind Guice bindings to JNDI https://code.google.com/p/camel-extra/wiki/GuiceJndi
Attachment: gist
a_guice_jndi_provider.patch
Original issue: http://code.google.com/p/google-guice/issues/detail?id=259
The text was updated successfully, but these errors were encountered: