edu.UCL.satin.arch.facets
Interface RegistrarFacet

All Superinterfaces:
ComponentFacet, Facet
All Known Implementing Classes:
Registrar

public interface RegistrarFacet
extends ComponentFacet

Author:
Stefanos Zachariadis

Field Summary
 
Fields inherited from interface edu.UCL.satin.arch.facets.ComponentFacet
DISABLED, ENABLED
 
Method Summary
 boolean registerComponent(Component c)
          Adds a new component to the container.
 java.lang.String removeComponent(Component c)
          Removes a component from the container
 
Methods inherited from interface edu.UCL.satin.arch.facets.ComponentFacet
addAttribute, construct, destroy, getAttribute, getProperties, hasAttribute, isEnabled, setEnabled
 

Method Detail

registerComponent

public boolean registerComponent(Component c)
Adds a new component to the container.

Parameters:
c - The component to add
Returns:
true if the operation was successful or false otherwise (component with the same id and version number exist/failure/etc.)

removeComponent

public java.lang.String removeComponent(Component c)
Removes a component from the container

Parameters:
c - The component to remove
Returns:
null if the operation was successful or the ID of the component that depends on c