code: public static VendorPackageInstaller getPackageInstaller(String url) throws PackageManagerException {
      VendorPackageInstaller answer;
      switch (identify(url)) {
        case COMPOSUM:
          answer = new ComposumPackageInstaller(url);
          break;
        case CRX:
          answer = new CrxPackageInstaller(url);
          break;
        default:
          throw new PackageManagerException("Given URL is not supported: " + url);
      }
      return answer;
    }
docs: Provides the Installer of the Service Vendor
  @param url Base URL of the service
  @return Installer if URL is supported otherwise null