org.objectweb.fractal.cecilia.primitive.thinkMC.types
Class ClientInterfaceInstantiationVisitor
java.lang.Object
org.objectweb.fractal.task.core.AbstractTaskFactoryUser
org.objectweb.fractal.cecilia.adl.interfaces.AbstractClientInterfaceVisitor
org.objectweb.fractal.cecilia.primitive.thinkMC.types.ClientInterfaceInstantiationVisitor
- All Implemented Interfaces:
- ComponentVisitor, Visitor<org.objectweb.fractal.adl.components.ComponentContainer>, org.objectweb.fractal.api.control.BindingController
public class ClientInterfaceInstantiationVisitor
- extends AbstractClientInterfaceVisitor
Visitor component that builds the instantiation of the imported interfaces of
the component for ThinkMC
dialect.
Method Summary |
protected org.objectweb.fractal.api.Component |
createIncludeClientInstanceTask(org.objectweb.fractal.adl.components.ComponentContainer container,
java.util.LinkedHashMap<org.objectweb.fractal.adl.types.TypeInterface,org.objectweb.fractal.adl.interfaces.Interface> clientInterfaceBindings,
java.util.Set<java.lang.Object> serverComponents)
|
protected org.objectweb.fractal.api.Component |
createInitializationClientInstanceTask(org.objectweb.fractal.adl.components.ComponentContainer container,
java.util.LinkedHashMap<org.objectweb.fractal.adl.types.TypeInterface,org.objectweb.fractal.adl.interfaces.Interface> clientInterfaceBindings,
java.util.Set<java.lang.Object> serverComponents)
|
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 instantiation of
the client interfaces of the component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientInterfaceInstantiationVisitor
public ClientInterfaceInstantiationVisitor()
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 instantiation of
the client interfaces of the component.
- 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
createIncludeClientInstanceTask
protected org.objectweb.fractal.api.Component createIncludeClientInstanceTask(org.objectweb.fractal.adl.components.ComponentContainer container,
java.util.LinkedHashMap<org.objectweb.fractal.adl.types.TypeInterface,org.objectweb.fractal.adl.interfaces.Interface> clientInterfaceBindings,
java.util.Set<java.lang.Object> serverComponents)
throws TaskException
- Throws:
TaskException
createInitializationClientInstanceTask
protected org.objectweb.fractal.api.Component createInitializationClientInstanceTask(org.objectweb.fractal.adl.components.ComponentContainer container,
java.util.LinkedHashMap<org.objectweb.fractal.adl.types.TypeInterface,org.objectweb.fractal.adl.interfaces.Interface> clientInterfaceBindings,
java.util.Set<java.lang.Object> serverComponents)
throws TaskException
- Throws:
TaskException
Copyright © 2007-2009 ObjectWeb Consortium. All Rights Reserved.