@Override
  public ServiceResult<Deployment> getDeployed(String fileName) {
    logger.debug("Looking up Deployment for name: {}", fileName);
    logger.debug("Deployments keySet: {}", Arrays.toString(deployments.keySet().toArray()));
    String artifactId = JarFileUtils.getArtifactId(fileName);
    if (deployments.containsKey(artifactId)) {
      return Success.of(deployments.get(artifactId));
    } else {
      return Failure.of(fileName + " is not deployed.");
    }
  }
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