Class ManifestClassPathUtils
- java.lang.Object
- 
- com.ibm.ws.container.service.app.deploy.ManifestClassPathUtils
 
- 
 public class ManifestClassPathUtils extends java.lang.ObjectUtilities to assist with processing manifest classpaths
- 
- 
Constructor SummaryConstructors Constructor Description ManifestClassPathUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddCompleteJarEntryUrls(java.util.List<ContainerInfo> containers, com.ibm.wsspi.adaptable.module.Entry jarEntry, java.util.Collection<java.lang.String> resolved)Add the jar entry URLs and its class path URLs.static java.lang.StringcreateEntryIdentity(com.ibm.wsspi.adaptable.module.Entry entry)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 recursionstatic voidprocessMFClasspath(com.ibm.wsspi.adaptable.module.Entry jarEntry, java.util.List<ContainerInfo> containers, java.util.Collection<java.lang.String> resolved)static voidprocessMFClasspath(com.ibm.wsspi.adaptable.module.Entry jarEntry, java.util.List<ContainerInfo> containers, java.util.Collection<java.lang.String> resolved, boolean addRoot)
 
- 
- 
- 
Method Detail- 
createEntryIdentitypublic static java.lang.String createEntryIdentity(com.ibm.wsspi.adaptable.module.Entry entry) throws com.ibm.wsspi.adaptable.module.UnableToAdaptExceptioncreate 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
 
 - 
processMFClasspathpublic static void processMFClasspath(com.ibm.wsspi.adaptable.module.Entry jarEntry, java.util.List<ContainerInfo> containers, java.util.Collection<java.lang.String> resolved) throws com.ibm.wsspi.adaptable.module.UnableToAdaptException- Throws:
- com.ibm.wsspi.adaptable.module.UnableToAdaptException
 
 - 
processMFClasspathpublic static void processMFClasspath(com.ibm.wsspi.adaptable.module.Entry jarEntry, java.util.List<ContainerInfo> containers, java.util.Collection<java.lang.String> resolved, boolean addRoot) throws com.ibm.wsspi.adaptable.module.UnableToAdaptException- Throws:
- com.ibm.wsspi.adaptable.module.UnableToAdaptException
 
 - 
addCompleteJarEntryUrlspublic static void addCompleteJarEntryUrls(java.util.List<ContainerInfo> containers, com.ibm.wsspi.adaptable.module.Entry jarEntry, java.util.Collection<java.lang.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
 
 
- 
 
-