public class FilteringContainerClassLoader extends FilteringArtifactClassLoader
Differs from the base class is that exposes all the resources available in the delegate classLoader and the delegate's parent classLoader.
| Constructor and Description |
|---|
FilteringContainerClassLoader(ArtifactClassLoader containerClassLoader,
ClassLoaderFilter filter,
List<ExportedService> exportedServices)
Creates a new instance
|
FilteringContainerClassLoader(ClassLoader parent,
ArtifactClassLoader containerClassLoader,
ClassLoaderFilter filter,
List<ExportedService> exportedServices)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected URL |
getResourceFromDelegate(ArtifactClassLoader artifactClassLoader,
String name) |
protected Enumeration<URL> |
getResourcesFromDelegate(ArtifactClassLoader artifactClassLoader,
String name) |
addShutdownListener, dispose, findInternalResource, findLocalClass, findLocalResource, findResource, findResources, getArtifactDescriptor, getArtifactId, getClassLoader, getClassLoaderLookupPolicy, getPackage, getPackages, getResource, getResources, loadClass, loadInternalClass, toStringclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getParent, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic FilteringContainerClassLoader(ClassLoader parent, ArtifactClassLoader containerClassLoader, ClassLoaderFilter filter, List<ExportedService> exportedServices)
parent - The parent class loadercontainerClassLoader - delegate classLoader. Not null.filter - filter used to determine which classes and resources are exported on the delegate classLoader.exportedServices - service providers that will be available from the filtered class loader. Non null.public FilteringContainerClassLoader(ArtifactClassLoader containerClassLoader, ClassLoaderFilter filter, List<ExportedService> exportedServices)
containerClassLoader - delegate classLoader. Not null.filter - filter used to determine which classes and resources are exported on the delegate classLoader.exportedServices - service providers that will be available from the filtered class loader. Non null.protected URL getResourceFromDelegate(ArtifactClassLoader artifactClassLoader, String name)
getResourceFromDelegate in class FilteringArtifactClassLoaderprotected Enumeration<URL> getResourcesFromDelegate(ArtifactClassLoader artifactClassLoader, String name) throws IOException
getResourcesFromDelegate in class FilteringArtifactClassLoaderIOExceptionCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.