|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.guiceyfruit.jndi.JndiBindings
public class JndiBindings
Constructor Summary | |
---|---|
JndiBindings()
|
Method Summary | |
---|---|
static void |
bindInjectorAndBindings(javax.naming.Context context,
com.google.inject.Injector injector,
java.util.Properties jndiNames)
Binds the given injector and its binding providers to the given JNDI context using this mapping mechanism. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JndiBindings()
Method Detail |
---|
public static void bindInjectorAndBindings(javax.naming.Context context, com.google.inject.Injector injector, java.util.Properties jndiNames) throws javax.naming.NamingException
JndiBind
or @Named
to the given JNDI context.
context
- the context to export objects toinjector
- the injector used to find the bindings
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |