org.codehaus.aspectwerkz.hook.impl
Class WeavingClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.codehaus.aspectwerkz.hook.impl.WeavingClassLoader
public class WeavingClassLoader
- extends URLClassLoader
Very basic classloader that do online weaving.
This classloader can be used thru several means
- as a URLClassLoader in a custom development
- as a MainClass to allow on the fly weaving (without support for classloader hierarchy)
It can also be used for debugging step by step in any IDE
- Author:
- Alexandre Vasseur
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeavingClassLoader
public WeavingClassLoader(URL[] urls,
ClassLoader parent)
findClass
protected Class findClass(String name)
throws ClassNotFoundException
- Overrides:
findClass
in class URLClassLoader
- Throws:
ClassNotFoundException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.