org.objectweb.proactive.core.component.adl
Interface RegistryManager

All Known Implementing Classes:
RegistryManagerImpl

public interface RegistryManager

This interface defines facilities for using a shared static registry storing component instances according to their name.

Author:
Matthieu Morel

Method Summary
 void addComponent(Component component)
          Adds a component instance.
 void clear()
          Empties the registry
 Component getComponent(java.lang.String name)
          Retreives an instance of a component according to the name (from its NameController controller)
 

Method Detail

addComponent

public void addComponent(Component component)
                  throws org.objectweb.fractal.adl.ADLException
Adds a component instance. (The name is retreived automatically from the NameController)

Parameters:
component - the instance of the component
Throws:
org.objectweb.fractal.adl.ADLException

getComponent

public Component getComponent(java.lang.String name)
Retreives an instance of a component according to the name (from its NameController controller)

Parameters:
name - the name of the instance of the component
Returns:
the selected component

clear

public void clear()
Empties the registry



Copyright ? October 2004 INRIA All Rights Reserved.