code: protected void updatedMonitor(ServiceReference<FileMonitor> monitorRef) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "CoreServiceImpl updatedMonitor", monitorRef);
          MonitorHolder existing = fileMonitors.get(monitorRef);
          if (existing == null)
              return;
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "CoreServiceImpl updatedMonitor, existing found");
          // Only initialize and start the monitor if the component has been activated
          if (cContext != null) {
              try {
                  // Create a root cache location for the bundle that registered this service;
                  // there could be multiple monitors associated with a bundle, but all should be destroyed
                  // if/when the bundle is uninstalled, so keep them "together"..
                  //TODO n.b. cacheRoot is unused
                  File cacheRoot = cContext.getBundleContext().getDataFile(Long.toString(monitorRef.getBundle().getBundleId()));
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      Tr.debug(tc, "CoreServiceImpl updatedMonitor, about to refresh");
                  existing.refresh(cacheRoot);
              } catch (RuntimeException re) {
                  // Generated FFDC, rethrow to fail the bind
                  fileMonitors.remove(monitorRef);
                  throw re;
              }
          }
      }
docs: Update an instance of a <code>FileMonitor</code> service (provider of
  that interface).
  
  
  @param monitorRef
  a reference to the FileMonitor instance to update