org.objectweb.proactive.core.component.adl.nodes
Interface VirtualNode
- All Superinterfaces:
- org.objectweb.fractal.adl.nodes.VirtualNode
- public interface VirtualNode
- extends org.objectweb.fractal.adl.nodes.VirtualNode
This interface adds a cardinality attribute to the virtual node (compared to the VirtualNode interface
from the standard Fractal ADL). This allows a strict definition of how to use
the components deployed on such a virtual node : in case of a multiple virtual node,
the reference that we have on a primitive component is actually a reference on a group
of primitive components.
This implies that method invocations will return groups of results, and this has to be known
in advance.
- Author:
- Matthieu Morel
Field Summary |
static java.lang.String |
MULTIPLE
|
static java.lang.String |
SINGLE
|
Method Summary |
java.lang.String |
getCardinality()
getter for the cardinality |
void |
setCardinality(java.lang.String cardinality)
setter for the cardinality |
Methods inherited from interface org.objectweb.fractal.adl.nodes.VirtualNode |
getName, setName |
SINGLE
public static final java.lang.String SINGLE
- See Also:
- Constant Field Values
MULTIPLE
public static final java.lang.String MULTIPLE
- See Also:
- Constant Field Values
getCardinality
public java.lang.String getCardinality()
- getter for the cardinality
- Returns:
- the cardinality of the virtual node
setCardinality
public void setCardinality(java.lang.String cardinality)
- setter for the cardinality
- Parameters:
cardinality
- the cardinality of the virtual node
Copyright 2001-2005 INRIA All Rights Reserved.