docs: protected void activate(ComponentContext context, Map<String, Object> properties) {
          final boolean trace = TraceComponent.isAnyTracingEnabled();
          if (trace && tc.isEntryEnabled())
              Tr.entry(this, tc, "activate", properties);
  
          bndCtx = priv.getBundleContext(context);
  
          // config.displayId contains the Xpath identifier.
          name = (String) properties.get("config.displayId");
  
          lock.writeLock().lock();
          try {
              this.properties = properties;
          } finally {
              lock.writeLock().unlock();
          }
  
          if ("file".equals(properties.get("config.source"))) {
              if (name.startsWith("#APP-RESOURCE#")) // avoid conflicts with app-defined data sources
                  throw new IllegalArgumentException(ConnectorService.getMessage("UNSUPPORTED_VALUE_J2CA8011", name, ID, CONNECTION_MANAGER));
          }
          if (trace && tc.isEntryEnabled())
              Tr.exit(this, tc, "activate");
      }