code: public void destroy()
      {
          Iterator iter = _nameMap.values().iterator();
          while (iter.hasNext())
          {
              Object sh=iter.next();
              iter.remove();
              removeComponent(sh);
          }
          
          if (_sessionManager!=null)
              removeComponent(_sessionManager);
          _sessionManager=null;
          _context=null;
          super.destroy();
      }
docs: /* -----------------------------------------------------------------