public class MuleApplicationClassLoader extends AbstractArtifactClassLoader implements ApplicationClassLoader
GoodCitizenClassLoader.NonCachingURLStreamHandlerFactory
Modifier and Type | Field and Description |
---|---|
protected static URL[] |
CLASSPATH_EMPTY |
static String |
PATH_CLASSES
Classes and resources directory in Mule application.
|
static String |
PATH_LIBRARY
Library directory in Mule application.
|
static String |
PATH_MULE
Directory for standard mule modules and transports
|
static String |
PATH_PER_APP
Sub-directory for per-application mule modules and transports
|
logger, shutdownListeners
blocked, overrides, systemPackages
Constructor and Description |
---|
MuleApplicationClassLoader(String appName,
ClassLoader parentCl,
NativeLibraryFinder nativeLibraryFinder) |
MuleApplicationClassLoader(String appName,
ClassLoader parentCl,
Set<String> loaderOverrides,
NativeLibraryFinder nativeLibraryFinder) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
findClass(String name) |
protected String |
findLibrary(String name) |
String |
getAppName() |
String |
getArtifactName() |
ClassLoader |
getClassLoader()
ClassLoader is an abstract class.
|
protected String[] |
getLocalResourceLocations() |
URL |
getResource(String name) |
Enumeration<URL> |
getResources(String name) |
String |
toString() |
addShutdownListener, createResourceReleaserInstance, dispose, findLocalResource, setResourceReleaserClassLocation
findParentClass, isBlocked, isOverridden, loadClass, processOverrides
addURL, close, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, 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
findResource
addShutdownListener
dispose
findLocalResource
public static final String PATH_LIBRARY
public static final String PATH_CLASSES
public static final String PATH_MULE
public static final String PATH_PER_APP
protected static final URL[] CLASSPATH_EMPTY
public MuleApplicationClassLoader(String appName, ClassLoader parentCl, NativeLibraryFinder nativeLibraryFinder)
public MuleApplicationClassLoader(String appName, ClassLoader parentCl, Set<String> loaderOverrides, NativeLibraryFinder nativeLibraryFinder)
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class FineGrainedControlClassLoader
ClassNotFoundException
public URL getResource(String name)
getResource
in class ClassLoader
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
public String getAppName()
getAppName
in interface ApplicationClassLoader
public String getArtifactName()
getArtifactName
in interface ArtifactClassLoader
public ClassLoader getClassLoader()
ArtifactClassLoader
getClassLoader
in interface ArtifactClassLoader
protected String findLibrary(String name)
findLibrary
in class ClassLoader
protected String[] getLocalResourceLocations()
getLocalResourceLocations
in class AbstractArtifactClassLoader
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.