protected void afterShutdown( ContextFactoryConfiguration ctx )
public void afterShutdown( ContextFactoryService service )
    protected void afterShutdown( ContextFactoryConfiguration ctx )    {        if ( minaRegistry != null )        {            if ( ldapService != null )            {                minaRegistry.unbind( ldapService );                ldapService = null;            }            if ( kerberosService != null )            {                minaRegistry.unbind( kerberosService );                kerberosService = null;            }        }    }