org.ow2.mind.adl.factory
Class FactoryGraphCompiler

java.lang.Object
  extended by org.ow2.mind.adl.factory.FactoryGraphCompiler
All Implemented Interfaces:
GraphCompiler, Visitor<ComponentGraph,java.util.Collection<CompilationCommand>>

public class FactoryGraphCompiler
extends java.lang.Object
implements GraphCompiler


Field Summary
protected  GraphCompiler clientCompilerItf
           
protected  DefinitionCompiler definitionCompilerItf
           
protected  org.objectweb.fractal.adl.Loader loaderItf
           
 
Constructor Summary
FactoryGraphCompiler()
           
 
Method Summary
protected  void compileDef(org.objectweb.fractal.adl.Definition definition, java.util.Set<org.objectweb.fractal.adl.Definition> compiledDefs, java.util.Collection<CompilationCommand> compilationCommands, java.util.Map<java.lang.Object,java.lang.Object> context)
           
protected  void compileFactoryDef(org.objectweb.fractal.adl.Definition factoryDefinition, java.util.Set<org.objectweb.fractal.adl.Definition> compiledDefs, java.util.Collection<CompilationCommand> compilationCommands, java.util.Map<java.lang.Object,java.lang.Object> context)
           
protected  void initCompiledDefs(ComponentGraph graph, java.util.Set<org.objectweb.fractal.adl.Definition> compiledDefs)
           
 java.util.Collection<CompilationCommand> visit(ComponentGraph graph, java.util.Map<java.lang.Object,java.lang.Object> context)
           
protected  void visitFactoryDefinitions(ComponentGraph topLevelGraph, ComponentGraph graph, java.util.Set<org.objectweb.fractal.adl.Definition> compiledDefs, java.util.Collection<CompilationCommand> compilationCommands, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientCompilerItf

protected GraphCompiler clientCompilerItf

loaderItf

@Inject
protected org.objectweb.fractal.adl.Loader loaderItf

definitionCompilerItf

@Inject
protected DefinitionCompiler definitionCompilerItf
Constructor Detail

FactoryGraphCompiler

public FactoryGraphCompiler()
Method Detail

visit

public java.util.Collection<CompilationCommand> visit(ComponentGraph graph,
                                                      java.util.Map<java.lang.Object,java.lang.Object> context)
                                               throws org.objectweb.fractal.adl.ADLException
Specified by:
visit in interface Visitor<ComponentGraph,java.util.Collection<CompilationCommand>>
Throws:
org.objectweb.fractal.adl.ADLException

visitFactoryDefinitions

protected void visitFactoryDefinitions(ComponentGraph topLevelGraph,
                                       ComponentGraph graph,
                                       java.util.Set<org.objectweb.fractal.adl.Definition> compiledDefs,
                                       java.util.Collection<CompilationCommand> compilationCommands,
                                       java.util.Map<java.lang.Object,java.lang.Object> context)
                                throws org.objectweb.fractal.adl.ADLException
Throws:
org.objectweb.fractal.adl.ADLException

compileFactoryDef

protected void compileFactoryDef(org.objectweb.fractal.adl.Definition factoryDefinition,
                                 java.util.Set<org.objectweb.fractal.adl.Definition> compiledDefs,
                                 java.util.Collection<CompilationCommand> compilationCommands,
                                 java.util.Map<java.lang.Object,java.lang.Object> context)
                          throws org.objectweb.fractal.adl.ADLException
Throws:
org.objectweb.fractal.adl.ADLException

compileDef

protected void compileDef(org.objectweb.fractal.adl.Definition definition,
                          java.util.Set<org.objectweb.fractal.adl.Definition> compiledDefs,
                          java.util.Collection<CompilationCommand> compilationCommands,
                          java.util.Map<java.lang.Object,java.lang.Object> context)
                   throws org.objectweb.fractal.adl.ADLException
Throws:
org.objectweb.fractal.adl.ADLException

initCompiledDefs

protected void initCompiledDefs(ComponentGraph graph,
                                java.util.Set<org.objectweb.fractal.adl.Definition> compiledDefs)


Copyright © 2009-2011 OW2. All Rights Reserved.