@Override
  public void rebind(String name, Object obj) throws NamingException {
    rebind(nameParser.parse(name), obj);
  }
Rebinds object obj to String name. If there is existing binding it will be overwritten.

@param name name of the object to rebind.
@param obj object to add. 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 context is
        not found
@throws NamingException if any other naming error occurs
geode-core/src/main/java/org/apache/geode/internal/jndi/ContextImpl.java