code: protected void activate(BundleContext bCtx, Map<String, Object> properties) {
          bundleID = bCtx.getBundle().getSymbolicName() + "-" + bCtx.getBundle().getVersion();
          bundleLoader = bCtx.getBundle().adapt(BundleWiring.class).getClassLoader();
          try {
              Object prop = properties.get(RESOURCE_LIST_PROPERTY);
              if (prop instanceof String) {
                  String resource = (String) prop;
                  resourceNames = Arrays.asList(resource);
              } else if (prop instanceof String[]) {
                  String[] resources = (String[]) prop;
                  resourceNames = Arrays.asList(resources);
              } else if (prop == null) {
                  // Internal WAS error => no NLS
                  // unacceptable not to provide a resource list - better not to instantiate this component
                  throw new ClassLoadingConfigurationException("Missing property " + RESOURCE_LIST_PROPERTY);
              } else {
                  // Internal WAS error => no NLS
                  throw new ClassLoadingConfigurationException("Unexpected value for property " + RESOURCE_LIST_PROPERTY + "=" + prop);
              }
          } catch (ClassLoadingConfigurationException e) {
              // catch the exception so it is FFDC'd by the implementation
              // re-throw to abort component creation
              // Internal WAS error => no NLS
              throw new ServiceConfigurationError("Incorrectly configured ResourceProvider in bundle " + bundleID, e);
          }
      }
docs: DS method to activate this component