org.inria.ns.reflex.processor
Class ModuleFinder

java.lang.Object
  extended by org.inria.ns.reflex.processor.catalog.LookupStrategy.Impl
      extended by org.inria.ns.reflex.processor.ModuleFinder
All Implemented Interfaces:
LookupStrategy

public final class ModuleFinder
extends LookupStrategy.Impl
implements LookupStrategy

The lookup strategy for modules : top-down, registry before, interleave, rely on registry.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.processor.catalog.LookupStrategy
LookupStrategy.Impl
 
Method Summary
static Iterator lookupModuleBuilder(GlobalCatalog globalCatalog, String ns)
          Lookup for a module reference according to this strategy.
 
Methods inherited from class org.inria.ns.reflex.processor.catalog.LookupStrategy.Impl
lookup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.inria.ns.reflex.processor.catalog.LookupStrategy
lookup
 

Method Detail

lookupModuleBuilder

public static Iterator lookupModuleBuilder(GlobalCatalog globalCatalog,
                                           String ns)
Lookup for a module reference according to this strategy.

Parameters:
globalCatalog - The catalog to look into.
catalogRef - The reference to look for.
Returns:
An iterator on ModuleBuilders.
See Also:
ModuleBuilder