org.objectweb.speedo.generation.enhancer
Class AccessEnhancer

java.lang.Object
  |
  +--org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
        |
        +--org.objectweb.speedo.generation.enhancer.EnhancerComponent
              |
              +--org.objectweb.speedo.generation.enhancer.AccessEnhancer
All Implemented Interfaces:
GeneratorComponent

public class AccessEnhancer
extends EnhancerComponent

Enhances a set of Java classes and renames it with Delegate as suffix.

The modifications to be done are described by the JDO Implementation's rules.

Author:
Y. Devaux

Field Summary
static java.lang.String LOGGER_NAME
           
 
Fields inherited from class org.objectweb.speedo.generation.enhancer.EnhancerComponent
isSrcJar
 
Fields inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
logger, scp
 
Constructor Summary
AccessEnhancer()
           
 
Method Summary
 void init()
          Initializes this AccessEnhancer
 void process()
          Loads all binary classes described by the Object Model and applies revelant modification to each of them.
 
Methods inherited from class org.objectweb.speedo.generation.enhancer.EnhancerComponent
loadJavaClass, loadJavaClass, writeJavaClass
 
Methods inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
getLogger, getSpeedoCompilerParameter, setSpeedoCompilerParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER_NAME

public static final java.lang.String LOGGER_NAME
Constructor Detail

AccessEnhancer

public AccessEnhancer()
Method Detail

init

public void init()
Initializes this AccessEnhancer
Overrides:
init in class AbstractGeneratorComponent

process

public void process()
             throws SpeedoException
Loads all binary classes described by the Object Model and applies revelant modification to each of them.
Overrides:
process in class AbstractGeneratorComponent
Throws:
SpeedoEnhancerException - if something goes wrong