@Override
public Context createComponentContext(Map<String, Object> bindings) throws SystemException {
try {
DeepBindableContext context = new DeepBindableContext("", false, true, true, false);
Context rootContext = new ImmutableFederatedContext("", Collections.<Context>singleton(context));
return context.newContextWrapper(rootContext);
} catch (NamingException e) {
throw new IllegalStateException(e);
}
// boolean hasEnv = false;