org.objectweb.fractal.cecilia.primitive.thinkMC.controllers
Class BCInstantiationVisitor

java.lang.Object
  extended by org.objectweb.fractal.task.core.AbstractTaskFactoryUser
      extended by org.objectweb.fractal.cecilia.adl.interfaces.AbstractClientInterfaceVisitor
          extended by org.objectweb.fractal.cecilia.primitive.thinkMC.controllers.BCInstantiationVisitor
All Implemented Interfaces:
ComponentVisitor, Visitor<org.objectweb.fractal.adl.components.ComponentContainer>, org.objectweb.fractal.api.control.BindingController

public class BCInstantiationVisitor
extends AbstractClientInterfaceVisitor

Visitor component that builds the instantiation of the binding controller data structure of the component for ThinkMC dialect.


Nested Class Summary
static class BCInstantiationVisitor.BCPrimitiveInstantiationTask
          Builds source code for the instantiation of the binding controller data structure for the given component node.
 
Field Summary
 
Fields inherited from class org.objectweb.fractal.task.core.AbstractTaskFactoryUser
TASK_FACTORY_ITF_NAME, taskFactoryItf
 
Constructor Summary
BCInstantiationVisitor()
           
 
Method Summary
protected  org.objectweb.fractal.api.Component createTask(org.objectweb.fractal.adl.components.ComponentContainer container, java.util.List<org.objectweb.fractal.adl.types.TypeInterface> clientInterfaces)
          Creates a task that writes the source code containing the binding controller definition.
 
Methods inherited from class org.objectweb.fractal.cecilia.adl.interfaces.AbstractClientInterfaceVisitor
visit
 
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

BCInstantiationVisitor

public BCInstantiationVisitor()
Method Detail

createTask

protected org.objectweb.fractal.api.Component createTask(org.objectweb.fractal.adl.components.ComponentContainer container,
                                                         java.util.List<org.objectweb.fractal.adl.types.TypeInterface> clientInterfaces)
                                                  throws org.objectweb.fractal.adl.ADLException,
                                                         TaskException
Creates a task that writes the source code containing the binding controller definition.

Specified by:
createTask in class AbstractClientInterfaceVisitor
Parameters:
container - the component that is visited.
clientInterfaces - the client interfaces of the component (contains at least one element).
Returns:
the created task.
Throws:
org.objectweb.fractal.adl.ADLException - if the instantiation of the task fails.
TaskException


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