code: @Override
  	public void bind(Name name, Object obj) throws NamingException
      {
          if (name.isEmpty())
              throw new InvalidNameException("Cannot bind empty name");
  
          // Extract components that belong to this namespace
          String nm = name.toString();
  
          // Find object in internal hash table
          if (bindings.get(nm) != null)
          {
              throw new NameAlreadyBoundException("Use rebind to override");
          }
  
          // Add object to internal hash table
          bindings.put(nm, obj);
      }
docs: /*
  (non-Javadoc)
  @see javax.naming.Context#bind(javax.naming.Name, java.lang.Object)