}
}
protected Context getJndiContext() {
try {
JndiContext context = new JndiContext(null);
if (injector != null) {
//Feed the empty properties to get the code work
JndiBindings.bindInjectorAndBindings(context, injector, new Properties());
}
return context;