public class TomcatEmbeddedWebappClassLoader
extends org.apache.catalina.loader.WebappClassLoader
WebappClassLoader
that does not consider the
system classloader
. This is required to to
ensure that any custom context classloader is always used (as is the case with some
executable archives).allPermission, canonicalLoaderDir, delegate, files, hasExternalRepositories, j2seClassLoader, jarFiles, jarNames, jarPath, jarRealFiles, lastJarAccessed, lastModifiedDates, loaderDir, loaderPC, needConvert, notFoundResources, packageTriggers, parent, paths, permissionList, repositories, repositoryURLs, resourceEntries, resources, searchExternalFirst, securityManager, sm, started, system, triggers
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
Constructor and Description |
---|
TomcatEmbeddedWebappClassLoader() |
TomcatEmbeddedWebappClassLoader(ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
addURL(URL url) |
Class<?> |
loadClass(String name,
boolean resolve) |
addLifecycleListener, addPermission, addPermission, addPermission, addRepository, clearReferences, closeJARs, deleteDir, destroy, doDefineClass, filter, findClass, findClassInternal, findLifecycleListeners, findLoadedClass0, findLoadedResource, findRepositories, findResource, findResourceInternal, findResourceInternal, findResources, getAntiJARLocking, getClearReferencesHttpClientKeepAliveThread, getClearReferencesLogFactoryRelease, getClearReferencesStatic, getClearReferencesStopThreads, getClearReferencesStopTimerThreads, getContextName, getDelegate, getJarPath, getJavaseClassLoader, getPermissions, getResource, getResourceAsStream, getResources, getSearchExternalFirst, getState, getStateName, getURI, getURL, getURLs, init, isPackageSealed, isStarted, loadClass, modified, openJARs, refreshPolicy, removeLifecycleListener, setAntiJARLocking, setClearReferencesHttpClientKeepAliveThread, setClearReferencesLogFactoryRelease, setClearReferencesStatic, setClearReferencesStopThreads, setClearReferencesStopTimerThreads, setDelegate, setJarPath, setJavaseClassLoader, setParentClassLoader, setResources, setSearchExternalFirst, setWorkDir, start, stop, toString, validate, validateJarFile
close, definePackage, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public TomcatEmbeddedWebappClassLoader()
public TomcatEmbeddedWebappClassLoader(ClassLoader parent)
public Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class org.apache.catalina.loader.WebappClassLoader
ClassNotFoundException
protected void addURL(URL url)
addURL
in class org.apache.catalina.loader.WebappClassLoader
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.