org.ow2.frascati.fscript.model
Class ScaIntentAxis
java.lang.Object
org.objectweb.fractal.fscript.model.AbstractAxis
org.ow2.frascati.fscript.model.ScaIntentAxis
- All Implemented Interfaces:
- org.objectweb.fractal.fscript.model.Axis
public class ScaIntentAxis
- extends org.objectweb.fractal.fscript.model.AbstractAxis
Implements the scaintent axis in FPath. This axis connects SCA
intents to the interface(s) they are bound to. The
connect(Node, Node) and disconnect(Node, Node) operations on this
axis are used to create and destroy intents.
- Author:
- Christophe Demarey
| Fields inherited from class org.objectweb.fractal.fscript.model.AbstractAxis |
inputType, model, name, outputType |
|
Method Summary |
void |
connect(org.objectweb.fractal.fscript.model.Node source,
org.objectweb.fractal.fscript.model.Node dest)
|
void |
disconnect(org.objectweb.fractal.fscript.model.Node source,
org.objectweb.fractal.fscript.model.Node dest)
|
boolean |
isModifiable()
|
boolean |
isPrimitive()
|
java.util.Set<org.objectweb.fractal.fscript.model.Node> |
selectFrom(org.objectweb.fractal.fscript.model.Node source)
Get a reference to the SCA component implementing the SCA intent (WS, RMI, etc.). |
| Methods inherited from class org.objectweb.fractal.fscript.model.AbstractAxis |
getInputNodeType, getModel, getName, getOutputNodeType, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScaIntentAxis
public ScaIntentAxis(FraSCAtiModel model)
- Default constructor
- Parameters:
model - The model referencing this axis.
isPrimitive
public final boolean isPrimitive()
isModifiable
public final boolean isModifiable()
selectFrom
public final java.util.Set<org.objectweb.fractal.fscript.model.Node> selectFrom(org.objectweb.fractal.fscript.model.Node source)
- Get a reference to the SCA component implementing the SCA intent (WS, RMI, etc.).
- Parameters:
source - the source node from which to select the binding component.
- Returns:
- the binding component node the given source node is connected to.
connect
public final void connect(org.objectweb.fractal.fscript.model.Node source,
org.objectweb.fractal.fscript.model.Node dest)
- Specified by:
connect in interface org.objectweb.fractal.fscript.model.Axis- Overrides:
connect in class org.objectweb.fractal.fscript.model.AbstractAxis
disconnect
public final void disconnect(org.objectweb.fractal.fscript.model.Node source,
org.objectweb.fractal.fscript.model.Node dest)
- Specified by:
disconnect in interface org.objectweb.fractal.fscript.model.Axis- Overrides:
disconnect in class org.objectweb.fractal.fscript.model.AbstractAxis
Copyright © 2009-2010 OW2 Consortium. All Rights Reserved.