com.caucho.loader.enhancer
Class AbstractClassEnhancer

java.lang.Object
  extended by com.caucho.loader.enhancer.AbstractClassEnhancer
All Implemented Interfaces:
ClassEnhancer

public abstract class AbstractClassEnhancer
extends java.lang.Object
implements ClassEnhancer

Interface for a class enhancer.


Constructor Summary
AbstractClassEnhancer()
           
 
Method Summary
 void postEnhance(JavaClass extClass)
          Any post compilation fixups.
 void preEnhance(JavaClass baseClass)
          Fixups for the pre-enhancement class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.caucho.loader.enhancer.ClassEnhancer
enhance, shouldEnhance
 

Constructor Detail

AbstractClassEnhancer

public AbstractClassEnhancer()
Method Detail

preEnhance

public void preEnhance(JavaClass baseClass)
                throws java.lang.Exception
Fixups for the pre-enhancement class.

Specified by:
preEnhance in interface ClassEnhancer
Throws:
java.lang.Exception

postEnhance

public void postEnhance(JavaClass extClass)
                 throws java.lang.Exception
Any post compilation fixups.

Specified by:
postEnhance in interface ClassEnhancer
Throws:
java.lang.Exception