iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java
public void unbind(Name name)
            throws NamingException {
        if (name.size() == 0)
            throw IIOPLogger.ROOT_LOGGER.invalidEmptyName();
        NameComponent[] path = org.wildfly.iiop.openjdk.naming.jndi.CNNameParser.nameToCosName(name);
        try {
            callUnbind(path);
        } catch (CannotProceedException e) {
            javax.naming.Context cctx = getContinuationContext(e);
            cctx.unbind(e.getRemainingName());
        }
    }
public void unbind(Name name)
            throws NamingException {
        if (name.size() == 0)
            throw IIOPLogger.ROOT_LOGGER.invalidEmptyName();
        NameComponent[] path = org.wildfly.iiop.openjdk.naming.jndi.CNNameParser.nameToCosName(name);
        try {
            callUnbind(path);
        } catch (CannotProceedException e) {
            javax.naming.Context cctx = getContinuationContext(e);
            cctx.unbind(e.getRemainingName());
        }
    }
public void unbind ( Name name ) throws NamingException { if ( name . size ( ) == 0 ) throw IIOPLogger . ROOT_LOGGER . invalidEmptyName ( ) ; NameComponent [ ] path = org . wildfly . iiop . openjdk . naming . jndi . CNNameParser . nameToCosName ( name ) ; try { callUnbind ( path ) ; } catch ( CannotProceedException e ) { javax . naming . Context cctx = getContinuationContext ( e ) ; cctx . unbind ( e . getRemainingName ( ) ) ; } }
Converts the "Name" name into a NameComponent[] object and
performs the unbind operation. Uses callUnbind. Throws an
invalid name exception if the name is empty.

@param name string
@throws NamingException See callUnbind
Converts the Name name into a NameComponent [] object and performs the unbind operation . Uses callUnbind . Throws an invalid name exception if the name is empty .