@Override
  public void close() {
    String[] jarNames = deployments.keySet().toArray(new String[] {});
    logger.debug(
        "Closing LegacyJarDeploymentService. The following Deployments will be removed: {}",
        Arrays.toString(jarNames));
    for (String jarName : jarNames) {
      undeployByFileName(jarName);
    }
  }
Implementation of {@link JarDeploymentService} that encapsulates the standard method of deploying
jars by delegating to the {@link JarDeployer}.

@since Geode 1.15
geode-deployment/geode-deployment-legacy/src/main/java/org/apache/geode/deployment/internal/legacy/LegacyJarDeploymentService.java