public final class JndiBindings extends Object
Modifier and Type | Method and Description |
---|---|
static void |
bindInjectorAndBindings(Context context,
com.google.inject.Injector injector,
Properties jndiNames)
Binds the given injector and its binding providers to the given JNDI
context using this mapping
mechanism.
|
public static void bindInjectorAndBindings(Context context, com.google.inject.Injector injector, Properties jndiNames) throws NamingException
JndiBind
or @Named
to
the given JNDI context.context
- the context to export objects toinjector
- the injector used to find the bindingsNamingException
Apache Camel