docs: protected void activate(ComponentContext context) {
          Dictionary<String, ?> props = context.getProperties();
          final boolean trace = TraceComponent.isAnyTracingEnabled();
          if (trace && tc.isEntryEnabled())
              Tr.entry(this, tc, "activate", props);
  
          name = (String) props.get("config.displayId");
          lock.writeLock().lock();
          try {
              properties = props;
          } finally {
              lock.writeLock().unlock();
          }
  
          if ("file".equals(props.get("config.source"))) {
              if (name.startsWith(AppDefinedResource.PREFIX)) // avoid conflicts with application defined data sources
                  throw new IllegalArgumentException(ConnectorService.getMessage("UNSUPPORTED_VALUE_J2CA8011", name, ID, JDBC_DRIVER));
          }
          if (trace && tc.isEntryEnabled())
              Tr.exit(this, tc, "activate");
      }