org.objectweb.fractal.adl
Class ComponentVisitorDispatcher
java.lang.Object
org.objectweb.fractal.task.core.AbstractTaskFactoryUser
org.objectweb.fractal.adl.VisitorDispatcher<org.objectweb.fractal.adl.components.ComponentContainer>
org.objectweb.fractal.adl.ComponentVisitorDispatcher
- All Implemented Interfaces:
- ComponentVisitor, TaskCompositionAttribute, Visitor<org.objectweb.fractal.adl.components.ComponentContainer>, org.objectweb.fractal.api.control.AttributeController, org.objectweb.fractal.api.control.BindingController
public class ComponentVisitorDispatcher
- extends VisitorDispatcher<org.objectweb.fractal.adl.components.ComponentContainer>
- implements ComponentVisitor
A visitor dispatcher for ComponentContainer
node.
- See Also:
VisitorDispatcher
Method Summary |
protected Visitor<org.objectweb.fractal.adl.components.ComponentContainer> |
castVisitorInterface(java.lang.Object serverItf)
This method is used by bindFc to cast the
given serverItf to a correct type. |
protected java.lang.Object[] |
getCompositionParameters(java.util.List<org.objectweb.fractal.adl.Node> path,
org.objectweb.fractal.adl.components.ComponentContainer node,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns the parameter to be passed to the
newCompositeTask method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.fractal.adl.Visitor |
visit |
ComponentVisitorDispatcher
public ComponentVisitorDispatcher()
castVisitorInterface
protected Visitor<org.objectweb.fractal.adl.components.ComponentContainer> castVisitorInterface(java.lang.Object serverItf)
- Description copied from class:
VisitorDispatcher
- This method is used by
bindFc
to cast the
given serverItf
to a correct type. Sub-classes must
implements this method to guaranty type safety.
- Specified by:
castVisitorInterface
in class VisitorDispatcher<org.objectweb.fractal.adl.components.ComponentContainer>
getCompositionParameters
protected java.lang.Object[] getCompositionParameters(java.util.List<org.objectweb.fractal.adl.Node> path,
org.objectweb.fractal.adl.components.ComponentContainer node,
java.util.Map<java.lang.Object,java.lang.Object> context)
- Description copied from class:
VisitorDispatcher
- Returns the parameter to be passed to the
newCompositeTask
method.
Cannot return null
.
- Specified by:
getCompositionParameters
in class VisitorDispatcher<org.objectweb.fractal.adl.components.ComponentContainer>
Copyright © 2007-2009 ObjectWeb Consortium. All Rights Reserved.