public void unregister(String spaceName){
  try {
    if (m_jmsLookupManager != null)     m_jmsLookupManager.close();
  }
 catch (  Exception e) {
    if (_logger.isLoggable(Level.WARNING))     _logger.log(Level.WARNING,"\n\nDirectory Service: Failed to unregister space " + spaceName + " : "+ e.toString(),e);
  }
  _registeredSpaces.remove(spaceName);
}

public void unregister ( String spaceName ) { try { if ( m_jmsLookupManager != null ) m_jmsLookupManager . close ( ) ; } catch ( Exception e ) { if ( _logger . isLoggable ( Level . WARNING ) ) _logger . log ( Level . WARNING , "\n\nDirectory Service: Failed to unregister space " + spaceName + " : " + e . toString ( ) , e ) ; } _registeredSpaces . remove ( spaceName ) ; }
unregistering appropriate space from all lookup services that this space was registered . we also unregister all jms administered objects .
