Class ManifestClassPathUtils

java.lang.Object
com.ibm.ws.container.service.app.deploy.ManifestClassPathUtils

public class ManifestClassPathUtils extends Object
Utilities to assist with processing manifest classpaths
  • Constructor Details

    • ManifestClassPathUtils

      public ManifestClassPathUtils()
  • Method Details

    • createEntryIdentity

      public static String createEntryIdentity(com.ibm.wsspi.adaptable.module.Entry entry) throws com.ibm.wsspi.adaptable.module.UnableToAdaptException
      create an Entry Identity that can identify an entry in an ear/war archive This is used to avoid the cross reference in jar files' Class-Path causing the non-stopping recursion
      Parameters:
      entry -
      Returns:
      Throws:
      com.ibm.wsspi.adaptable.module.UnableToAdaptException
    • processMFClasspath

      public static void processMFClasspath(com.ibm.wsspi.adaptable.module.Entry jarEntry, List<ContainerInfo> containers, Collection<String> resolved) throws com.ibm.wsspi.adaptable.module.UnableToAdaptException
      Throws:
      com.ibm.wsspi.adaptable.module.UnableToAdaptException
    • processMFClasspath

      public static void processMFClasspath(com.ibm.wsspi.adaptable.module.Entry jarEntry, List<ContainerInfo> containers, Collection<String> resolved, boolean addRoot) throws com.ibm.wsspi.adaptable.module.UnableToAdaptException
      Throws:
      com.ibm.wsspi.adaptable.module.UnableToAdaptException
    • addCompleteJarEntryUrls

      public static void addCompleteJarEntryUrls(List<ContainerInfo> containers, com.ibm.wsspi.adaptable.module.Entry jarEntry, Collection<String> resolved) throws com.ibm.wsspi.adaptable.module.UnableToAdaptException
      Add the jar entry URLs and its class path URLs. We need deal with all the thrown exceptions so that it won't interrupt the caller's processing.
      Parameters:
      urls -
      jarEntry -
      Throws:
      com.ibm.wsspi.adaptable.module.UnableToAdaptException