@Override
  public void bind(Name name, Object obj) throws NamingException {
    checkIsDestroyed();
    // Do not check for already bound name.
    // Simply replace the existing value.
    rebind(name, obj);
  }
Binds object to a name in this context. Intermediate contexts that do not exist will be
created.

@param name Name of the object to bind
@param obj Object to bind. Can be null.
@throws NoPermissionException if this context has been destroyed.
@throws InvalidNameException if name is empty or is CompositeName that spans more than one
        naming system.
@throws NotContextException if name has more than one atomic name and intermediate atomic name
        is bound to object that is not context.
geode-core/src/main/java/org/apache/geode/internal/jndi/ContextImpl.java