code: public void addCompEnvBindings(Map<String, InjectionBinding<?>> newBindings) {
          if (!compLock.writeLock().isHeldByCurrentThread()) {
              throw new IllegalStateException();
          }
  
          if (compEnvBindings == null) {
              compEnvBindings = new JavaColonNamespaceBindings<InjectionBinding<?>>(NamingConstants.JavaColonNamespace.COMP_ENV, InjectionBindingClassNameProvider.instance);
          }
  
          for (Map.Entry<String, InjectionBinding<?>> entry : newBindings.entrySet()) {
              compEnvBindings.bind(entry.getKey(), entry.getValue());
          }
      }
docs: Add java:comp/env bindings.