org.codehaus.aspectwerkz.hook.impl
Class WeavingClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by 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

It can also be used for debugging step by step in any IDE

Author:
Alexandre Vasseur

Constructor Summary
WeavingClassLoader(URL[] urls, ClassLoader parent)
           
 
Method Summary
protected  Class findClass(String name)
           
static void main(String[] args)
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
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
 

Constructor Detail

WeavingClassLoader

public WeavingClassLoader(URL[] urls,
                          ClassLoader parent)
Method Detail

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.