org.objectweb.speedo.generation.generator
Class SpeedoGenerator

java.lang.Object
  |
  +--org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
        |
        +--org.objectweb.speedo.generation.generator.SpeedoGenerator
All Implemented Interfaces:
GeneratorComponent

public class SpeedoGenerator
extends AbstractGeneratorComponent

This class generates files "proxy", "manager" and "fields" for persistence capable classes.

Author:
F. Dhumeaux

Field Summary
static java.lang.String LOGGER_NAME
           
 
Fields inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
logger, scp
 
Constructor Summary
SpeedoGenerator()
           
 
Method Summary
 void init()
           
 void process()
          Generation all files , and Fields.
 
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

SpeedoGenerator

public SpeedoGenerator()
Method Detail

init

public void init()
Overrides:
init in class AbstractGeneratorComponent

process

public void process()
             throws SpeedoException
Generation all files , and Fields. If a previous task on a class has failed, the methods doesn't create files for this class.
Overrides:
process in class AbstractGeneratorComponent
Throws:
SpeedoException - if there is a problem during writing the new files and the boolean failsonerror is set on true.