base/common/src/main/com/thesett/common/jndi/SimpleContext.java
public void unbind(String name) throws NamingException
    {
        if ("".equals(name))
        {
            throw new InvalidNameException("Cannot unbind empty name");
        }

        bindings.remove(name);
    }
public void unbind(String name) throws NamingException
    {
        if ("".equals(name))
        {
            throw new InvalidNameException("Cannot unbind empty name");
        }

        bindings.remove(name);
    }
Unbinds the named object. Removes the terminal atomic name in name from the target context--that named by all but
the terminal atomic part of name.

<p/>This method is idempotent. It succeeds even if the terminal atomic name is not bound in the target context,
but throws NameNotFoundException if any of the intermediate contexts do not exist.

<p/>Any attributes associated with the name are removed. Intermediate contexts are not changed.

@param  name The name to unbind.

@throws NamingException If the name is illegal, or intermediate contexts do not exist.