| java.lang.Object | |
| ↳ | com.google.inject.jndi.JndiIntegration |
Integrates Guice with JNDI. Requires a binding to javax.naming.Context.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a provider which looks up objects in JNDI using the given name.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a provider which looks up objects in JNDI using the given name. Example usage:
bind(DataSource.class).toProvider(fromJndi(DataSource.class, "java:..."));