@Override
  public Name composeName(Name name, Name prefix) throws NamingException {
    checkIsDestroyed();
    // We do not want to modify any of the parameters (JNDI requirement).
    // Clone <code> prefix </code> to satisfy the requirement.
    Name parsedPrefix = getParsedName((Name) prefix.clone());
    Name parsedName = getParsedName(name);
    return parsedPrefix.addAll(parsedName);
  }
Returns composition of prefix and name .

@param name name relative to this context
@param prefix name of this context Example: composeName("a","b") : b/a composeName("a","") : a
geode-core/src/main/java/org/apache/geode/internal/jndi/ContextImpl.java