code: @Trivial
      protected void activate(ComponentContext context) throws Exception {
          Dictionary<String, ?> props = context.getProperties();
          final boolean trace = TraceComponent.isAnyTracingEnabled();
          if (trace && tc.isEntryEnabled())
              Tr.entry(this, tc, "activate", props);
  
          adminObjectImplClassName = (String) props.get(CONFIG_PROPS_PREFIX + "adminobject-class");
          name = (String) props.get("config.id");
          id = (String) props.get("id");
          jndiName = (String) props.get("jndiName");
  
          for (Enumeration<String> keys = props.keys(); keys.hasMoreElements();) {
              String key = keys.nextElement();
              if (key.length() > CONFIG_PROPS_PREFIX_LENGTH && key.charAt(CONFIG_PROPS_PREFIX_LENGTH - 1) == '.' && key.startsWith(CONFIG_PROPS_PREFIX)) {
                  String propName = key.substring(CONFIG_PROPS_PREFIX_LENGTH);
                  if (propName.indexOf('.') < 0 && propName.indexOf('-') < 0)
                      properties.put(propName, props.get(key));
              }
          }
  
          bootstrapContextRef.activate(context);
  
          if (trace && tc.isEntryEnabled())
              Tr.exit(this, tc, "activate");
      }
docs: DS method to activate this component.
  Best practice: this should be a protected method, not public or private
  
  @param context DeclarativeService defined/populated component context