org.objectweb.dream.adl
Interface Reconfiguration

All Known Implementing Classes:
ReconfigurationImpl

public interface Reconfiguration

Reconfiguration interface. Allows to add components to a composite following an ADL definition.


Method Summary
 void addComponents(Component composite, String reconfADL, Map context)
          Adds sub component to the given composite component.
 

Method Detail

addComponents

public void addComponents(Component composite,
                          String reconfADL,
                          Map context)
                   throws ADLException
Adds sub component to the given composite component. The given ADL definition is a description of the given composite, where sub components set as legacy (tag <legacy contingency="mandatory"/>) are existing components and others are added components. Legacy component are retreived as direct or indirect sub component of the given composite. They can also be retreive in the context map with a key of the form : "legacy:./<path-to-the-legacy-component>"

Parameters:
composite - the componite component.
reconfADL - the reconfiguration ADL.
context - a context.
Throws:
ADLException - if an error occurs.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.