org.objectweb.proactive.core.component.adl.vnexportation
Interface ExportedVirtualNodesBuilder

All Known Implementing Classes:
ExportedVirtualNodesBuilderImpl

public interface ExportedVirtualNodesBuilder

A builder interface for composing exported virtual nodes.

Author:
Matthieu Morel

Method Summary
 void compose(java.lang.String componentName, ExportedVirtualNode[] exportedVirtualNodes, VirtualNode currentComponentVN)
           Composes exported virtual nodes.
 

Method Detail

compose

public void compose(java.lang.String componentName,
                    ExportedVirtualNode[] exportedVirtualNodes,
                    VirtualNode currentComponentVN)
             throws java.lang.Exception

Composes exported virtual nodes. This is a way to reorganize the physical deployment of the components.

The exported virtual nodes that do not have parents (they are not themselves exported) *must* correspond to the virtual nodes specified in the proactive deployment descriptor. They must also match cardinalities : if an exported virtual node has a "multiple" cardinality", it must be corresponding to a "multiple" virtual node, i.e. a virtual node that contains several nodes.

This method validates and performs the linkage, keeps it in memory, and allows hierarchical composition of exported virtual nodes.

Parameters:
componentName - the name of the component
exportedVirtualNodes - an array of the exported virtual nodes elements for this component
currentComponentVN - the virtual node to export
Throws:
java.lang.Exception - in case of a composition error


Copyright 2001-2005 INRIA All Rights Reserved.