org.objectweb.dream.adl
Class FractalResolver

java.lang.Object
  extended by org.objectweb.dream.adl.FractalResolver
All Implemented Interfaces:
Resolver

public class FractalResolver
extends Object
implements Resolver

Resolver component to find sub component in a composite.


Constructor Summary
FractalResolver()
           
 
Method Summary
 Object resolve(Object namingContext, String name, Map context)
          The namingContext object is used as a composite component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FractalResolver

public FractalResolver()
Method Detail

resolve

public Object resolve(Object namingContext,
                      String name,
                      Map context)
               throws ComponentNotFoundException
The namingContext object is used as a composite component. The name paramaeter is a name of a sub component.
This method returns a sub component of the given composite with the specified name.

Specified by:
resolve in interface Resolver
Parameters:
namingContext - a context for retreiving the component (i.e. a composite component).
name - a name identifying the component to find.
context - a map.
Returns:
a component.
Throws:
ComponentNotFoundException - if the component can't be found.
See Also:
Resolver.resolve(Object, String, Map)


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