code: protected void activate(ComponentContext context) throws UnableToAdaptException, MalformedURLException {
          final boolean trace = TraceComponent.isAnyTracingEnabled();
          if (trace && tc.isEntryEnabled())
              Tr.entry(this, tc, "activate", context.getProperties());
  
          id = (String) context.getProperties().get(Constants.ID);
          rarFilePath = (String) context.getProperties().get(Constants.LOCATION);
          bundleContext = Utils.priv.getBundleContext(context);
          bundle = bundleContext.getBundle();
  
          // This is here so that the RAR class loader is set before providing it
          // to the bundle service for the RAR below.
          getClassLoader();
  
          // Provide the classloader identity to the bundle service associated
          // with the RAR so it may complete initialization before the RAR is
          // installed.
          raBundleSvc.setClassLoaderID(rarClassLoaderId);
  
          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 for this component instance
  @throws UnableToAdaptException
  @throws MalformedURLException