public class WebappClassLoader extends WebappClassLoaderBase
WebappClassLoaderBase.PrivilegedFindClassByName, WebappClassLoaderBase.PrivilegedGetClassLoader
Lifecycle.SingleUse
delegate, loaderPC, 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(ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
WebappClassLoader |
copyWithoutTransformers()
Returns a copy of this class loader without any class file
transformers.
|
protected Object |
getClassLoadingLock(String className)
This class loader is not parallel capable so lock on the class loader
rather than a per-class lock.
|
addLifecycleListener, addTransformer, addURL, checkStateForClassLoading, checkStateForResourceLoading, clearReferences, copyStateWithoutTransformers, destroy, doDefineClass, filter, findClass, findClassInternal, findLifecycleListeners, findLoadedClass0, findResource, findResources, getClearReferencesHttpClientKeepAliveThread, getClearReferencesLogFactoryRelease, getClearReferencesRmiTargets, getClearReferencesStopThreads, getClearReferencesStopTimerThreads, getContextName, getDelegate, getHostName, getJavaseClassLoader, getPermissions, getResource, getResourceAsStream, getResources, getServiceName, getState, getStateName, getURLs, getWebappName, init, isPackageSealed, loadClass, loadClass, modified, refreshPolicy, removeLifecycleListener, removeTransformer, setClearReferencesHttpClientKeepAliveThread, setClearReferencesLogFactoryRelease, setClearReferencesRmiTargets, setClearReferencesStopThreads, setClearReferencesStopTimerThreads, setDelegate, setJavaseClassLoader, setResources, start, stop, toString
close, definePackage, newInstance, newInstance
defineClass, defineClass
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(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 Object getClassLoadingLock(String className)
getClassLoadingLock
in class ClassLoader
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.