org.objectweb.fractal.cecilia.adl.test
Class CeciliaAdlTestCase.FractalBackendLauncher

java.lang.Object
  extended by org.objectweb.fractal.cecilia.adl.AbstractLauncher
      extended by org.objectweb.fractal.cecilia.adl.Launcher
          extended by org.objectweb.fractal.cecilia.adl.test.CeciliaAdlTestCase.FractalBackendLauncher
Enclosing class:
CeciliaAdlTestCase

public class CeciliaAdlTestCase.FractalBackendLauncher
extends org.objectweb.fractal.cecilia.adl.Launcher

A subclass of the Launcher which uses a fully compliant Fractal compiler.

Author:
Alessio Pace

Nested Class Summary
 
Nested classes/interfaces inherited from class org.objectweb.fractal.cecilia.adl.Launcher
org.objectweb.fractal.cecilia.adl.Launcher.CompilerInstantiationException
 
Nested classes/interfaces inherited from class org.objectweb.fractal.cecilia.adl.AbstractLauncher
org.objectweb.fractal.cecilia.adl.AbstractLauncher.CmdAppendOption, org.objectweb.fractal.cecilia.adl.AbstractLauncher.CmdArgument, org.objectweb.fractal.cecilia.adl.AbstractLauncher.CmdFlag, org.objectweb.fractal.cecilia.adl.AbstractLauncher.CmdOption, org.objectweb.fractal.cecilia.adl.AbstractLauncher.CmdPathOption, org.objectweb.fractal.cecilia.adl.AbstractLauncher.CmdProperties, org.objectweb.fractal.cecilia.adl.AbstractLauncher.CommandLine, org.objectweb.fractal.cecilia.adl.AbstractLauncher.InvalidCommandLineException, org.objectweb.fractal.cecilia.adl.AbstractLauncher.Options
 
Field Summary
protected  org.objectweb.fractal.api.Component compilerComponent
           
 
Fields inherited from class org.objectweb.fractal.cecilia.adl.Launcher
adlBuildDir, adlToExecName, ARCHIVER_COMMAND, archiverCmdOpt, buildDir, C_FLAGS, CECILIA_BASIC_COMPILER_ADL, cFlagsOpt, checkADLMode, checkADLModeOpt, compiler, COMPILER_COMMAND, compilerADLOpt, compilerCmdOpt, compilerContext, concurrentJobCmdOpt, DEFAULT_PLUGIN_FACTORY_BACKEND, EXEC_NAME, executableNameCmdOpt, idlBuildDir, includePathOpt, LD_FLAGS, ldFlagsOpt, ldPathOpt, LINKER_COMMAND, LINKER_SCRIPT, linkerCmdOpt, linkerScriptOpt, logger, objBuildDir, printStackTrace, printStackTraceOpt, PROGRAM_NAME_PROPERTY_NAME, targetDescOpt, targetDescriptor
 
Fields inherited from class org.objectweb.fractal.cecilia.adl.AbstractLauncher
helpOpt, options, outDirOpt, srcPathOpt
 
Constructor Summary
CeciliaAdlTestCase.FractalBackendLauncher(java.util.Map<java.lang.String,java.lang.String> options)
           
 
Method Summary
protected  org.objectweb.fractal.adl.Factory createCompiler(java.util.Map<java.lang.Object,java.lang.Object> compilerContext, org.objectweb.fractal.cecilia.adl.AbstractLauncher.CommandLine cmdLine)
           
 org.objectweb.fractal.api.Component getCompilerComponent()
           
 
Methods inherited from class org.objectweb.fractal.cecilia.adl.Launcher
addOptions, compile, compile, compile, createCompiler, createTargetDescriptorLoader, handleException, handleException, handleException, init, initBuildDirs, main, nullOrEmpty, parserADLList, printUsage, processADLMapping, processArchiver, processCFlags, processCompiler, processContext, processLdFlags, processLinker, processLinkerScript, toArgs
 
Methods inherited from class org.objectweb.fractal.cecilia.adl.AbstractLauncher
argsToMap, checkDir, getSourceClassLoader, getSourceClassLoader, newBuildDir, newBuildDir, parsePathList, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compilerComponent

protected org.objectweb.fractal.api.Component compilerComponent
Constructor Detail

CeciliaAdlTestCase.FractalBackendLauncher

public CeciliaAdlTestCase.FractalBackendLauncher(java.util.Map<java.lang.String,java.lang.String> options)
                                          throws org.objectweb.fractal.cecilia.adl.AbstractLauncher.InvalidCommandLineException,
                                                 org.objectweb.fractal.cecilia.adl.Launcher.CompilerInstantiationException
Throws:
org.objectweb.fractal.cecilia.adl.AbstractLauncher.InvalidCommandLineException
org.objectweb.fractal.cecilia.adl.Launcher.CompilerInstantiationException
Method Detail

getCompilerComponent

public final org.objectweb.fractal.api.Component getCompilerComponent()

createCompiler

protected org.objectweb.fractal.adl.Factory createCompiler(java.util.Map<java.lang.Object,java.lang.Object> compilerContext,
                                                           org.objectweb.fractal.cecilia.adl.AbstractLauncher.CommandLine cmdLine)
Overrides:
createCompiler in class org.objectweb.fractal.cecilia.adl.Launcher


Copyright © 2007-2009 ObjectWeb Consortium. All Rights Reserved.