org.objectweb.dream.control.location
Interface LocationController

All Known Implementing Classes:
BasicLocationControllerMixin

public interface LocationController

A controller interface used to know the location of a component.


Method Summary
 Component[] getBootstraps()
          Returns an array of the Componentinterface of bootstrap components where the component is located.
 void setCreationBootstrap(Component bootstrap)
          Method used by the bootstrap component during the initialisation of the component.
 

Method Detail

getBootstraps

Component[] getBootstraps()
Returns an array of the Componentinterface of bootstrap components where the component is located. If the component this controller belongs is a primitive component, this array contains one element : the bootstrap used to create it. If the component is a composite component, the returned array contains the bootstrap used to create it (at first element) and every bootstraps of its sub components.

Returns:
an array of the Componentinterface of bootstrap components where the component is located.

setCreationBootstrap

void setCreationBootstrap(Component bootstrap)
Method used by the bootstrap component during the initialisation of the component.

Parameters:
bootstrap - the bootstrap component interface that creates the component, this controller belongs.


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