org.objectweb.fractal.cecilia.composite.c.types
Class CloneableInterfaceDefinitionVisitor

java.lang.Object
  extended by org.objectweb.fractal.task.core.AbstractTaskFactoryUser
      extended by org.objectweb.fractal.cecilia.adl.interfaces.AbstractInterfaceVisitor
          extended by org.objectweb.fractal.cecilia.composite.c.types.InterfaceDefinitionVisitor
              extended by org.objectweb.fractal.cecilia.composite.c.types.CloneableInterfaceDefinitionVisitor
All Implemented Interfaces:
ComponentVisitor, Visitor<org.objectweb.fractal.adl.components.ComponentContainer>, org.objectweb.fractal.api.control.BindingController

public class CloneableInterfaceDefinitionVisitor
extends InterfaceDefinitionVisitor

Visitor component that builds the definition of the interfaces of a cloneable composite component.


Nested Class Summary
static class CloneableInterfaceDefinitionVisitor.CloneableInterfaceDefinitonTask
          Builds source code containing the definition of the interfaces for a cloneable composite component.
 
Nested classes/interfaces inherited from class org.objectweb.fractal.cecilia.composite.c.types.InterfaceDefinitionVisitor
InterfaceDefinitionVisitor.InterfaceDefinitonTask
 
Field Summary
 
Fields inherited from class org.objectweb.fractal.task.core.AbstractTaskFactoryUser
TASK_FACTORY_ITF_NAME, taskFactoryItf
 
Constructor Summary
CloneableInterfaceDefinitionVisitor()
           
 
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> itfs)
          Creates a task that writes the source code containing the definition of the interfaces of the component.
 
Methods inherited from class org.objectweb.fractal.cecilia.adl.interfaces.AbstractInterfaceVisitor
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

CloneableInterfaceDefinitionVisitor

public CloneableInterfaceDefinitionVisitor()
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> itfs)
                                                  throws org.objectweb.fractal.adl.ADLException,
                                                         TaskException
Creates a task that writes the source code containing the definition of the interfaces of the component.

Overrides:
createTask in class InterfaceDefinitionVisitor
Parameters:
container - the component that is visited.
itfs - the 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.