com.caucho.loader.enhancer
Class Enhancer

java.lang.Object
  extended by com.caucho.loader.enhancer.Enhancer

public abstract class Enhancer
extends java.lang.Object

Class loader which enhances classes.


Field Summary
static int ACC_PRIVATE
           
static int ACC_PROTECTED
           
static int ACC_PUBLIC
           
 
Constructor Summary
Enhancer()
           
 
Method Summary
protected  void enhance(GenClass genClass, JavaClass baseClass, java.lang.String extClassName)
          Enhances the class.
protected  void postEnhance(JavaClass baseClass)
          Enhances the class.
protected  void preEnhance(JavaClass baseClass)
          Enhances the class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACC_PUBLIC

public static final int ACC_PUBLIC
See Also:
Constant Field Values

ACC_PRIVATE

public static final int ACC_PRIVATE
See Also:
Constant Field Values

ACC_PROTECTED

public static final int ACC_PROTECTED
See Also:
Constant Field Values
Constructor Detail

Enhancer

public Enhancer()
Method Detail

preEnhance

protected void preEnhance(JavaClass baseClass)
                   throws java.lang.Exception
Enhances the class.

Throws:
java.lang.Exception

enhance

protected void enhance(GenClass genClass,
                       JavaClass baseClass,
                       java.lang.String extClassName)
                throws java.lang.Exception
Enhances the class.

Throws:
java.lang.Exception

postEnhance

protected void postEnhance(JavaClass baseClass)
                    throws java.lang.Exception
Enhances the class.

Throws:
java.lang.Exception