org.apache.cocoon.components.flow.java
Class ContinuationClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.apache.cocoon.components.flow.java.ContinuationClassLoader

public class ContinuationClassLoader
extends ClassLoader

The classloader breakes the methods of the classes into pieces and add intercepting code to suspend the execution of the method. This code is based on the original idea of the BRAKES project. (http://www.cs.kuleuven.ac.be/~eddy/BRAKES/brakes.html).

Version:
CVS $Id: ContinuationClassLoader.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Stephan Michels, Torsten Curdt

Constructor Summary
ContinuationClassLoader(ClassLoader parent)
           
 
Method Summary
protected  Class loadClass(String name, boolean resolve)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, 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

ContinuationClassLoader

public ContinuationClassLoader(ClassLoader parent)
Method Detail

loadClass

protected Class loadClass(String name,
                          boolean resolve)
                   throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.