public class MuleSharedDomainClassLoader extends AbstractArtifactClassLoader implements ArtifactClassLoader
GoodCitizenClassLoader.NonCachingURLStreamHandlerFactory
Modifier and Type | Field and Description |
---|---|
static String |
DOMAIN_LIBRARY_FOLDER |
static String |
OLD_DOMAIN_LIBRARY_FOLDER |
logger, shutdownListeners
appName, blocked, overrides, systemPackages
Constructor and Description |
---|
MuleSharedDomainClassLoader(String domain,
ClassLoader parent) |
MuleSharedDomainClassLoader(String domain,
ClassLoader parent,
Set<String> loaderOverrides) |
Modifier and Type | Method and Description |
---|---|
protected void |
addUrls() |
URL |
findResource(String name) |
String |
getArtifactName() |
ClassLoader |
getClassLoader()
ClassLoader is an abstract class.
|
protected String[] |
getLocalResourceLocations() |
String |
toString() |
protected void |
validateAndGetDomainFolders() |
addShutdownListener, createResourceReleaserInstance, dispose, findLocalResource, setResourceReleaserClassLocation
findClass, findParentClass, isBlocked, isOverridden, loadClass, processOverrides
addURL, close, definePackage, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addShutdownListener
dispose
findLocalResource
public static final String DOMAIN_LIBRARY_FOLDER
public static final String OLD_DOMAIN_LIBRARY_FOLDER
public MuleSharedDomainClassLoader(String domain, ClassLoader parent)
public MuleSharedDomainClassLoader(String domain, ClassLoader parent, Set<String> loaderOverrides)
public String getArtifactName()
getArtifactName
in interface ArtifactClassLoader
public ClassLoader getClassLoader()
ArtifactClassLoader
getClassLoader
in interface ArtifactClassLoader
public URL findResource(String name)
findResource
in interface ArtifactClassLoader
findResource
in class URLClassLoader
name
- name of the resource to find.protected void validateAndGetDomainFolders() throws Exception
Exception
protected void addUrls() throws MalformedURLException
MalformedURLException
protected String[] getLocalResourceLocations()
getLocalResourceLocations
in class AbstractArtifactClassLoader
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.