code: @Override
      public void deregisterFactories(ChannelFactoryProvider provider) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
              Tr.event(tc, "Removing factory provider; " + provider.getClass().getName());
          }
          for (Entry<String, Class<? extends ChannelFactory>> entry : provider.getTypes().entrySet()) {
              this.providers.remove(entry.getKey());
              deregisterFactory(entry.getKey());
          }
          this.activatedProviders.remove(provider);
      }
docs: Remove a factory provider.
  
  @param provider