public class MuleDeployableArtifactClassLoader extends MuleArtifactClassLoader
ArtifactClassLoader
implementation of deployable artifacts.FineGrainedControlClassLoader.NonCachingURLStreamHandlerFactory
shutdownListeners
Constructor and Description |
---|
MuleDeployableArtifactClassLoader(String artifactId,
ArtifactDescriptor artifactDescriptor,
URL[] urls,
ClassLoader parent,
ClassLoaderLookupPolicy lookupPolicy,
List<ArtifactClassLoader> artifactPluginClassLoaders)
Creates a
MuleDeployableArtifactClassLoader with the provided configuration. |
Modifier and Type | Method and Description |
---|---|
List<ArtifactClassLoader> |
getArtifactPluginClassLoaders()
Provides a
List with the plugin name as key and its classloader as value. |
addShutdownListener, createResourceReleaserInstance, dispose, findLocalResource, getArtifactDescriptor, getArtifactId, getClassLoader, getLocalResourceLocations, setResourceReleaserClassLocation, toString
findLocalClass, findParentClass, getClassLoaderLookupPolicy, getResource, getResources, loadClass
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findLocalClass, findResource, findResources
getClassLoaderLookupPolicy
public MuleDeployableArtifactClassLoader(String artifactId, ArtifactDescriptor artifactDescriptor, URL[] urls, ClassLoader parent, ClassLoaderLookupPolicy lookupPolicy, List<ArtifactClassLoader> artifactPluginClassLoaders)
MuleDeployableArtifactClassLoader
with the provided configuration.artifactId
- artifact unique ID. Non empty.artifactDescriptor
- descriptor for the artifact owning the created class loader instance.urls
- the URLs from which to load classes and resourcesparent
- parent class loader in the hierarchylookupPolicy
- policy for resolving classes and resourcesartifactPluginClassLoaders
- class loaders for the plugin artifacts contained by this artifact. Must be not null.public List<ArtifactClassLoader> getArtifactPluginClassLoaders()
List
with the plugin name as key and its classloader as value.List
of plugin class loadersCopyright © 2018. All rights reserved.