|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.task.core.AbstractTaskFactoryUser org.objectweb.fractal.cecilia.primitive.thinkMC.implementations.FactoryImplementationVisitor
public class FactoryImplementationVisitor
Nested Class Summary | |
---|---|
static class |
FactoryImplementationVisitor.FactoryImplementationTask
Builds implementation source code of the factory interface for the given component node. |
Field Summary |
---|
Fields inherited from class org.objectweb.fractal.task.core.AbstractTaskFactoryUser |
---|
TASK_FACTORY_ITF_NAME, taskFactoryItf |
Constructor Summary | |
---|---|
FactoryImplementationVisitor()
|
Method Summary | |
---|---|
org.objectweb.fractal.api.Component |
visit(java.util.List<org.objectweb.fractal.adl.Node> path,
org.objectweb.fractal.adl.components.ComponentContainer container,
java.util.Map<java.lang.Object,java.lang.Object> context)
Visits ComponentContainer nodes and creates a task that includes
the implementation file, and that defines some macros that are used in the
implementation file. |
Methods inherited from class org.objectweb.fractal.task.core.AbstractTaskFactoryUser |
---|
bindFc, listFc, lookupFc, unbindFc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FactoryImplementationVisitor()
Method Detail |
---|
public org.objectweb.fractal.api.Component visit(java.util.List<org.objectweb.fractal.adl.Node> path, org.objectweb.fractal.adl.components.ComponentContainer container, java.util.Map<java.lang.Object,java.lang.Object> context) throws org.objectweb.fractal.adl.ADLException, TaskException
ComponentContainer
nodes and creates a task that includes
the implementation file, and that defines some macros that are used in the
implementation file.
visit
in interface Visitor<org.objectweb.fractal.adl.components.ComponentContainer>
path
- a list containing all the parent nodes of the visited node
stating from the root of the AST.container
- the AST Node to be visited.context
- additional parameters.
ADLException
- if something wrong is found in the AST.
TaskException
- if something wrong happens during the instantiation
of the task component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |