code: protected void deactivate(ComponentContext context) {
          final boolean trace = TraceComponent.isAnyTracingEnabled();
          if (trace && tc.isEntryEnabled())
              Tr.entry(this, tc, "deactivate");
  
          destroyConnectionFactories(true);
  
          if (trace && tc.isEntryEnabled())
              Tr.exit(this, tc, "deactivate", id + ' ' + context.getProperties().get(JNDI_NAME));
      }
docs: Declarative Services method to deactivate this component.
  Best practice: this should be a protected method, not public or private
  
  @param context context for this component instance.