docs: protected void deactivate(ComponentContext context) {
          final boolean trace = TraceComponent.isAnyTracingEnabled();
          if (trace && tc.isEntryEnabled())
              Tr.entry(this, tc, "deactivate", name);
  
          lock.writeLock().lock();
          try {
              if (pmMBean != null) {
                  pmMBean.unregister();
                  pmMBean = null;
              }
              pm = null;
              properties = null;
          } finally {
              lock.writeLock().unlock();
          }
  
          if (trace && tc.isEntryEnabled())
              Tr.exit(this, tc, "deactivate");
      }