Used to support WAS Liberty Profile classloading in io.github.classgraph
| Modifier and Type | Field and Description |
|---|---|
| private static final String | IBM_APP_CLASS_LOADER
|
| private static final String | IBM_THREAD_CONTEXT_CLASS_LOADER
|
| private static final String | PKG_PREFIX
|
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Collection | callGetUrls(final Object container, final String methodName, final ReflectionUtils reflectionUtils)
Utility to call a "getURLs" method, flattening "collections of collections" and ignoring "UnsupportedOperationException". |
| public static boolean | canHandle(final Class<?>
the classLoaderClass, final LogNode ClassLoader class or one of its superclasses.the log log)Check whether this |
| public static void | findClassLoaderOrder(final ClassLoader
the classLoader, final ClassLoaderOrder ClassLoader to find the order for.a classLoaderOrder, final LogNode ClassLoaderOrder object to update.the log log)Find the |
| public static void | findClasspathOrder(final ClassLoader
the classLoader, final ClasspathOrder ClassLoader to find the classpath entries order for.a classpathOrder, final ScanSpec ClasspathOrder object to update.the scanSpec, final LogNode ScanSpec.the log. log)Find the classpath entries for the associated |
| private static Collection | getPaths(final Object
the containerClassLoader object containerClassLoader, final ReflectionUtils reflectionUtils)Get the paths from a containerClassLoader object. |
| IBM_APP_CLASS_LOADER | back to summary |
|---|---|
| private static final String IBM_APP_CLASS_LOADER
| |
| IBM_THREAD_CONTEXT_CLASS_LOADER | back to summary |
|---|---|
| private static final String IBM_THREAD_CONTEXT_CLASS_LOADER
| |
| PKG_PREFIX | back to summary |
|---|---|
| private static final String PKG_PREFIX
| |
| WebsphereLibertyClassLoaderHandler | back to summary |
|---|---|
| private WebsphereLibertyClassLoaderHandler() Class cannot be constructed. | |
| callGetUrls | back to summary |
|---|---|
| private static Collection Utility to call a "getURLs" method, flattening "collections of collections" and ignoring "UnsupportedOperationException". All of the "getURLs" methods eventually call "com.ibm.wsspi.adaptable.module.Container#getURLs()". https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.javadoc.liberty.doc /com.ibm.websphere.appserver.spi.artifact_1.2-javadoc /com/ibm/wsspi/adaptable/module/Container.html?view=embed#getURLs() "A collection of URLs that represent all of the locations on disk that contribute to this container"
| |
| canHandle | back to summary |
|---|---|
| public static boolean canHandle(final Class<?> classLoaderClass, final LogNode log) Check whether this
| |
| findClassLoaderOrder | back to summary |
|---|---|
| public static void findClassLoaderOrder(final ClassLoader classLoader, final ClassLoaderOrder classLoaderOrder, final LogNode log) Find the
| |
| findClasspathOrder | back to summary |
|---|---|
| public static void findClasspathOrder(final ClassLoader classLoader, final ClasspathOrder classpathOrder, final ScanSpec scanSpec, final LogNode log) Find the classpath entries for the associated
| |
| getPaths | back to summary |
|---|---|
| private static Collection Get the paths from a containerClassLoader object. The passed in object should be an instance of "com.ibm.ws.classloading.internal.ContainerClassLoader". Will attempt to use "getContainerURLs" methods to recap the classpath.
| |