org.ow2.mind.adl
Class BasicGraphLinker

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

public class BasicGraphLinker
extends java.lang.Object
implements GraphCompiler


Field Summary
protected  GraphCompiler clientCompilerItf
           
protected  CompilationCommandFactory compilationCommandFactory
           
protected  ImplementationLocator implementationLocatorItf
           
protected  OutputFileLocator outputFileLocatorItf
           
 
Constructor Summary
BasicGraphLinker()
           
 
Method Summary
protected  void compileSharedImplementation(ComponentGraph graph, java.util.Collection<CompilationCommand> result, java.util.Map<java.lang.Object,java.lang.Object> context)
           
protected  void findSharedImplementations(ComponentGraph graph, java.util.Set<java.lang.String> sharedImplementations)
           
 java.util.Collection<CompilationCommand> visit(ComponentGraph graph, 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

outputFileLocatorItf

@Inject
protected OutputFileLocator outputFileLocatorItf

implementationLocatorItf

@Inject
protected ImplementationLocator implementationLocatorItf

compilationCommandFactory

@Inject
protected CompilationCommandFactory compilationCommandFactory
Constructor Detail

BasicGraphLinker

public BasicGraphLinker()
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

compileSharedImplementation

protected void compileSharedImplementation(ComponentGraph graph,
                                           java.util.Collection<CompilationCommand> result,
                                           java.util.Map<java.lang.Object,java.lang.Object> context)
                                    throws org.objectweb.fractal.adl.ADLException
Throws:
org.objectweb.fractal.adl.ADLException

findSharedImplementations

protected void findSharedImplementations(ComponentGraph graph,
                                         java.util.Set<java.lang.String> sharedImplementations)


Copyright © 2009-2011 OW2. All Rights Reserved.