public void deregisterServiceProvider(Object provider){
  if (provider == null) {
    throw new IllegalArgumentException("provider == null!");
  }
  Iterator regs=getSubRegistries(provider);
  while (regs.hasNext()) {
    SubRegistry reg=(SubRegistry)regs.next();
    reg.deregisterServiceProvider(provider);
  }
}

public void deregisterServiceProvider ( Object provider ) { if ( provider == null ) { throw new IllegalArgumentException ( "provider == null!" ) ; } Iterator regs = getSubRegistries ( provider ) ; while ( regs . hasNext ( ) ) { SubRegistry reg = ( SubRegistry ) regs . next ( ) ; reg . deregisterServiceProvider ( provider ) ; } }
removes a service provider object from all categories that contain it .
