org.objectweb.speedo.wizard
Class SpeedoWizardCompiler

java.lang.Object
  extended byorg.objectweb.speedo.generation.lib.AbstractGeneratorComponent
      extended byorg.objectweb.speedo.wizard.SpeedoWizardCompiler
All Implemented Interfaces:
GeneratorComponent

public class SpeedoWizardCompiler
extends AbstractGeneratorComponent

The SpeedoWizardCompiler object creates and runs the tasks that are involved in the generation of JORM files. It represents the functional aspect of SpeedoWizard.

See Also:
SpeedoWizard

Field Summary
 java.lang.Object[][] actions
           
static java.lang.String LOGGER_NAME
           
 
Fields inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
debug, logger, scp
 
Constructor Summary
SpeedoWizardCompiler()
           
 
Method Summary
 SpeedoCompilerParameter getSpeedoCompilerParameter()
          The SpeedoCompilerParameter object contains the data that will serve to initialize the tasks associated with the SpeedoWizardCompiler object.
 boolean init()
          Creates several tasks in order to generate the JORM files.
 void process()
          Runs the tasks created by the init() method.
 
Methods inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
getLogger, setLogger, 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
See Also:
Constant Field Values

actions

public java.lang.Object[][] actions
Constructor Detail

SpeedoWizardCompiler

public SpeedoWizardCompiler()
Method Detail

getSpeedoCompilerParameter

public SpeedoCompilerParameter getSpeedoCompilerParameter()
The SpeedoCompilerParameter object contains the data that will serve to initialize the tasks associated with the SpeedoWizardCompiler object.

Specified by:
getSpeedoCompilerParameter in interface GeneratorComponent
Overrides:
getSpeedoCompilerParameter in class AbstractGeneratorComponent

init

public boolean init()
             throws SpeedoException
Creates several tasks in order to generate the JORM files.

Specified by:
init in interface GeneratorComponent
Specified by:
init in class AbstractGeneratorComponent
Throws:
SpeedoException

process

public void process()
             throws SpeedoException
Runs the tasks created by the init() method. The first task takes as parameter a collection of .jdo files and builds the corresponding meta-information objects in memory.

Specified by:
process in interface GeneratorComponent
Specified by:
process in class AbstractGeneratorComponent
Throws:
SpeedoException