org.codehaus.aspectwerkz.hook.impl
Class WeavingClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byjava.security.SecureClassLoader
          extended byjava.net.URLClassLoader
              extended byorg.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
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, 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
Throws:
ClassNotFoundException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.