naming/src/main/java/org/jboss/as/naming/NamingContext.java
public void rename(final String oldName, final String newName) throws NamingException {
        rename(parseName(oldName), parseName(newName));
    }
public void rename(final String oldName, final String newName) throws NamingException {
        rename(parseName(oldName), parseName(newName));
    }
{@inheritDoc}