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

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

public class CIFactoryVisitor
extends AbstractServerInterfaceVisitor

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


Nested Class Summary
static class CIFactoryVisitor.CIFactoryInstantiateDeclarationTask
          Builds the source code that declare the new component identity controller data structure.
static class CIFactoryVisitor.CIFactoryInstantiateSizeofTask
          Builds the source code that declare the new component identity controller data structure.
static class CIFactoryVisitor.CIFactoryInstantiateTask
          Builds the source code that copy the component identity controller data structure.
 
Field Summary
 
Fields inherited from class org.objectweb.fractal.task.core.AbstractTaskFactoryUser
TASK_FACTORY_ITF_NAME, taskFactoryItf
 
Constructor Summary
CIFactoryVisitor()
           
 
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> serverInterfaces)
          Creates the task that is returned by this visitor.
 
Methods inherited from class org.objectweb.fractal.cecilia.adl.interfaces.AbstractServerInterfaceVisitor
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

CIFactoryVisitor

public CIFactoryVisitor()
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> serverInterfaces)
                                                  throws org.objectweb.fractal.adl.ADLException,
                                                         TaskException
Description copied from class: AbstractServerInterfaceVisitor
Creates the task that is returned by this visitor.

Specified by:
createTask in class AbstractServerInterfaceVisitor
Parameters:
container - the component that is visited.
serverInterfaces - the server 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.