org.codehaus.dna
Interface Composable


public interface Composable

The component implements this interface if it wishes to be supplied with services via ResourceLocator. The ResourceLocator contains the services that this component depends upon under keys specified in the components metadata.

Version:
$Revision: 1.2 $ $Date: 2004/05/01 09:51:48 $

Method Summary
 void compose(ResourceLocator locator)
          Supply the component with ResourceLocator object via which they can access any dependency services.
 

Method Detail

compose

public void compose(ResourceLocator locator)
             throws MissingResourceException
Supply the component with ResourceLocator object via which they can access any dependency services.

Parameters:
locator - the ResourceLocator
Throws:
MissingResourceException - if the ResourceLocator does not contain all the required services


Copyright © 2003-2004 Codehaus. All Rights Reserved.