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

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

public class ACFactoryVisitor
extends AbstractAttributeVisitor

Visitor component that builds the factory implementation code pieces for cloning attribute controller data structure.


Nested Class Summary
static class ACFactoryVisitor.ACFactoryInstantiateDeclarationTask
          Builds the source code that declare the new attribute controller data structure.
static class ACFactoryVisitor.ACFactoryInstantiateSizeofTask
          Builds the source code that declare the new attribute controller data structure.
static class ACFactoryVisitor.ACFactoryInstantiateTask
          Builds the source code that copy the attribute controller data structure.
 
Field Summary
 
Fields inherited from class org.objectweb.fractal.task.core.AbstractTaskFactoryUser
TASK_FACTORY_ITF_NAME, taskFactoryItf
 
Constructor Summary
ACFactoryVisitor()
           
 
Method Summary
protected  org.objectweb.fractal.api.Component createTask(org.objectweb.fractal.adl.components.ComponentContainer container, org.objectweb.fractal.adl.attributes.Attributes attributes)
          Creates the task that is returned by this visitor.
 
Methods inherited from class org.objectweb.fractal.cecilia.adl.attributes.AbstractAttributeVisitor
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

ACFactoryVisitor

public ACFactoryVisitor()
Method Detail

createTask

protected org.objectweb.fractal.api.Component createTask(org.objectweb.fractal.adl.components.ComponentContainer container,
                                                         org.objectweb.fractal.adl.attributes.Attributes attributes)
                                                  throws TaskException
Description copied from class: AbstractAttributeVisitor
Creates the task that is returned by this visitor.

Specified by:
createTask in class AbstractAttributeVisitor
Parameters:
container - the component that is visited.
attributes - the Attributes node of the component.
Returns:
the created task.
Throws:
TaskException


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