public class WebappClassLoader extends WebappClassLoaderBase
WebappClassLoaderBase.PrivilegedFindResourceByName, WebappClassLoaderBase.PrivilegedGetClassLoader
allPermission, delegate, loaderPC, needConvert, packageTriggersDeny, packageTriggersPermit, 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, clearReferences, copyStateWithoutTransformers, destroy, doDefineClass, filter, findClass, findClassInternal, findLifecycleListeners, findLoadedClass0, findLoadedResource, findResource, findResourceInternal, findResources, getClearReferencesHttpClientKeepAliveThread, getClearReferencesLogFactoryRelease, getClearReferencesStatic, 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, setClearReferencesStatic, setClearReferencesStopThreads, setClearReferencesStopTimerThreads, setDelegate, setJavaseClassLoader, setResources, start, stop, toString, validate
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-2014 Apache Software Foundation. All Rights Reserved.