code: protected void deactivate(ComponentContext context, int reason) throws Exception {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
              Tr.event(this, tc, "Deactivating, reason=" + reason);
          }
  
          this.registry.removeAll();
      }
docs: Deactivate this DS component.
  
  @param context
  @throws Exception