code: public ServiceRegistration<KeyringMonitor> monitorKeyRings(String ID, String trigger, String keyStoreLocation) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
              Tr.event(this, tc, "monitorKeyRing registration for", ID);
          }
          BundleContext bundleContext = actionable.getBundleContext();
          final Hashtable<String, Object> keyRingMonitorProps = new Hashtable<String, Object>();
          keyRingMonitorProps.put(KeyringMonitor.MONITOR_KEYSTORE_CONFIG_ID, ID);
          keyRingMonitorProps.put(KeyringMonitor.KEYSTORE_LOCATION, keyStoreLocation);
          if (!(trigger.equalsIgnoreCase("disabled")) && trigger.equals("polled")) {
              Tr.warning(tc, "Cannot have polled trigger for keyRing ID: ", ID);
          }
          return bundleContext.registerService(KeyringMonitor.class, this, keyRingMonitorProps);
      }
docs: Registers this KeyringMonitor to start monitoring the specified keyrings
  by mbean notification.
  
  @param id of keyrings to monitor.
  @param trigger what trigger the keyring update notification mbean
  @return The <code>KeyringMonitor</code> service registration.