this.minaRegistry.unbind( minaService );
minaRegistry.unbind( minaService );
    public Context getInitialContext( Hashtable env ) throws NamingException    {        Context ctx = null;        if ( env.containsKey( EnvKeys.SHUTDOWN ) )        {            if ( this.provider == null )            {                return new DeadContext();            }            try            {                this.provider.shutdown();                if ( this.minaRegistry != null )                {                    this.minaRegistry.unbind( minaService );                }            }            catch ( Throwable t )            {                t.printStackTrace();            }            finally            {                ctx = new DeadContext();                provider = null;                initialEnv = null;            }            return ctx;        }        ctx = super.getInitialContext( env );        // fire up the front end if we have not explicitly disabled it        if ( initialEnv != null && ! initialEnv.containsKey( EnvKeys.DISABLE_PROTOCOL ) )        {            startUpWireProtocol();        }        if ( createMode )        {            importLdif();        }        return ctx;    }