org.ow2.frascati.fscript.model
Class ScaBindingAxis
java.lang.Object
org.objectweb.fractal.fscript.model.AbstractAxis
org.ow2.frascati.fscript.model.ScaBindingAxis
- All Implemented Interfaces:
- org.objectweb.fractal.fscript.model.Axis
public class ScaBindingAxis
- extends org.objectweb.fractal.fscript.model.AbstractAxis
Implements the scabinding axis in FPath. This axis connects client
interfaces to the server interface(s) they are bound to. The
AbstractAxis.connect(Node, Node) and disconnect(Node, Node) operations on this
axis are used to create and destroy bindings.
- Author:
- Christophe Demarey
| Fields inherited from class org.objectweb.fractal.fscript.model.AbstractAxis |
inputType, model, name, outputType |
|
Method Summary |
void |
disconnect(org.objectweb.fractal.fscript.model.Node source,
org.objectweb.fractal.fscript.model.Node dest)
Remove an SCA binding (dest) from an SCA service or reference (source). |
boolean |
isModifiable()
|
boolean |
isPrimitive()
|
Set<org.objectweb.fractal.fscript.model.Node> |
selectFrom(org.objectweb.fractal.fscript.model.Node source)
Get a reference to the component implementing the SCA binding (WS, RMI, etc.). |
| Methods inherited from class org.objectweb.fractal.fscript.model.AbstractAxis |
connect, getInputNodeType, getModel, getName, getOutputNodeType, toString |
ScaBindingAxis
public ScaBindingAxis(FraSCAtiModel model)
- Default constructor
- Parameters:
model - The model referencing this axis.
isPrimitive
public boolean isPrimitive()
isModifiable
public boolean isModifiable()
selectFrom
public Set<org.objectweb.fractal.fscript.model.Node> selectFrom(org.objectweb.fractal.fscript.model.Node source)
- Get a reference to the component implementing the SCA binding (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.
disconnect
public void disconnect(org.objectweb.fractal.fscript.model.Node source,
org.objectweb.fractal.fscript.model.Node dest)
- Remove an SCA binding (dest) from an SCA service or reference (source).
- Specified by:
disconnect in interface org.objectweb.fractal.fscript.model.Axis- Overrides:
disconnect in class org.objectweb.fractal.fscript.model.AbstractAxis
Copyright © 2009-2011 OW2 Consortium. All Rights Reserved.