Searched refs:newname (Results 1 - 5 of 5) sorted by relevance

/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/impl/
H A DSerialContextProvider.java92 public void rename(String oldname, String newname) argument
H A DSerialContextProviderImpl.java134 public void rename(String oldname, String newname) argument
137 rootContext.rename(oldname, newname);
H A DTransientContext.java444 * Rename the object specified by oldname to newname
450 public void rename(Name oldname, Name newname) throws NamingException { argument
451 rename(oldname.toString(), newname.toString());
455 * Rename the object specified by oldname to newname
461 public void rename(String oldname, String newname) argument
463 if (oldname.equals("") || newname.equals("")) {
470 if (bindings.get(newname) != null) {
471 throw new NameAlreadyBoundException(newname +
481 bindings.put(newname, oldBinding);
H A DSerialContext.java763 * @param newname new name that the object will be bound as.
767 public void rename(String oldname, String newname) throws NamingException { argument
769 newname = getRelativeName(newname);
771 javaUrlContext.rename(oldname, newname);
774 getProvider().rename(oldname, newname);
785 * @param newname new name that the object will be bound as.
789 public void rename(Name oldname, Name newname) throws NamingException { argument
791 rename(oldname.toString(), newname.toString());
H A DJavaURLContext.java325 public void rename(String oldname, String newname) throws NamingException { argument
334 public void rename(Name oldname, Name newname) argument

Completed in 33 milliseconds