Class ManifestClassPathUtils
- java.lang.Object
-
- com.ibm.ws.container.service.app.deploy.ManifestClassPathUtils
-
public class ManifestClassPathUtils extends java.lang.Object
Utilities to assist with processing manifest classpaths
-
-
Constructor Summary
Constructors Constructor Description ManifestClassPathUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addCompleteJarEntryUrls(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.String
createEntryIdentity(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 void
processMFClasspath(com.ibm.wsspi.adaptable.module.Entry jarEntry, java.util.List<ContainerInfo> containers, java.util.Collection<java.lang.String> resolved)
static void
processMFClasspath(com.ibm.wsspi.adaptable.module.Entry jarEntry, java.util.List<ContainerInfo> containers, java.util.Collection<java.lang.String> resolved, boolean addRoot)
-
-
-
Method Detail
-
createEntryIdentity
public static java.lang.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, 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
-
processMFClasspath
public 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
-
addCompleteJarEntryUrls
public 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
-
-