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, shutdownListenersblocked, 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, setResourceReleaserClassLocationfindParentClass, isBlocked, isOverridden, loadClass, processOverridesaddURL, close, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindResourceaddShutdownListenerdisposefindLocalResourcepublic 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 FineGrainedControlClassLoaderClassNotFoundExceptionpublic URL getResource(String name)
getResource in class ClassLoaderpublic Enumeration<URL> getResources(String name) throws IOException
getResources in class ClassLoaderIOExceptionpublic String getAppName()
getAppName in interface ApplicationClassLoaderpublic String getArtifactName()
getArtifactName in interface ArtifactClassLoaderpublic ClassLoader getClassLoader()
ArtifactClassLoadergetClassLoader in interface ArtifactClassLoaderprotected String findLibrary(String name)
findLibrary in class ClassLoaderprotected String[] getLocalResourceLocations()
getLocalResourceLocations in class AbstractArtifactClassLoaderCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.