public class WebappClassLoader extends WebappClassLoaderBase
WebappClassLoaderBase.PrivilegedFindResourceByName, WebappClassLoaderBase.PrivilegedGetClassLoader
Lifecycle.SingleUse
allPermission, delegate, loaderPC, needConvert, parent, permissionList, resourceEntries, resources, securityManager, sm
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 |
---|
WebappClassLoader() |
WebappClassLoader(java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
WebappClassLoader |
copyWithoutTransformers()
Returns a copy of this class loader without any class file
transformers.
|
protected java.lang.Object |
getClassLoadingLock(java.lang.String className)
This class loader is not parallel capable so lock on the class loader
rather than a per-class lock.
|
addLifecycleListener, addTransformer, addURL, check, checkStateForClassLoading, checkStateForResourceLoading, clearReferences, copyStateWithoutTransformers, destroy, doDefineClass, filter, filter, findClass, findClassInternal, findLifecycleListeners, findLoadedClass0, findLoadedResource, findResource, findResourceInternal, findResources, getClearReferencesHttpClientKeepAliveThread, getClearReferencesLogFactoryRelease, getClearReferencesObjectStreamClassCaches, getClearReferencesRmiTargets, getClearReferencesStatic, getClearReferencesStopThreads, getClearReferencesStopTimerThreads, getContextName, getDelegate, getHostName, getJavaseClassLoader, getPermissions, getResource, getResourceAsStream, getResources, getServiceName, getState, getStateName, getURLs, getWebappName, hasLoggingConfig, init, isPackageSealed, loadClass, loadClass, modified, refreshPolicy, removeLifecycleListener, removeTransformer, setClearReferencesHttpClientKeepAliveThread, setClearReferencesLogFactoryRelease, setClearReferencesObjectStreamClassCaches, setClearReferencesRmiTargets, setClearReferencesStatic, setClearReferencesStopThreads, setClearReferencesStopTimerThreads, setDelegate, setJavaseClassLoader, setResources, start, stop, toString, validate
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public WebappClassLoader()
public WebappClassLoader(java.lang.ClassLoader parent)
public WebappClassLoader copyWithoutTransformers()
ClassFileTransformer
's
transform
method.
The returned class loader's resource cache will have been cleared so that classes already instrumented will not be retained or returned.
protected java.lang.Object getClassLoadingLock(java.lang.String className)
getClassLoadingLock
in class java.lang.ClassLoader
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.