public class ShadowingInstrumentableClassLoader extends org.springframework.core.DecoratingClassLoader
Much of this code is based on Spring's ShadowingClassLoader
.
Constructor and Description |
---|
ShadowingInstrumentableClassLoader(ClassLoader enclosingClassLoader) |
ShadowingInstrumentableClassLoader(ClassLoader enclosingClassLoader,
String[] excludedPackages) |
Modifier and Type | Method and Description |
---|---|
void |
addTransformer(ClassFileTransformer transformer) |
URL |
getResource(String name) |
InputStream |
getResourceAsStream(String name) |
Enumeration<URL> |
getResources(String name) |
Class<?> |
loadClass(String name,
boolean resolve) |
excludeClass, excludePackage, isExcluded
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public ShadowingInstrumentableClassLoader(ClassLoader enclosingClassLoader)
public ShadowingInstrumentableClassLoader(ClassLoader enclosingClassLoader, String[] excludedPackages)
public void addTransformer(ClassFileTransformer transformer)
public Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public URL getResource(String name)
getResource
in class ClassLoader
public InputStream getResourceAsStream(String name)
getResourceAsStream
in class ClassLoader
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.