org.inria.ns.reflex.processor.catalog
Class LocalCatalog

java.lang.Object
  extended by org.inria.ns.reflex.processor.catalog.LocalCatalog
All Implemented Interfaces:
GlobalCatalog
Direct Known Subclasses:
ProcessorInstance

public abstract class LocalCatalog
extends Object
implements GlobalCatalog

A LocalCatalog consist on a list of catalog references and a registry where to store objects.

A local catalog may be chained to a parent local catalog. A set of chained local catalogs is a global catalog.

Author:
Philippe Poulard
See Also:
GlobalCatalog

Constructor Summary
LocalCatalog()
           
 
Method Summary
 void append(CatalogKey key, Builder builder)
          Append a resource in this registry.
 
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.GlobalCatalog
getLocalCatalogEntry
 

Constructor Detail

LocalCatalog

public LocalCatalog()
Method Detail

append

public final void append(CatalogKey key,
                         Builder builder)
Append a resource in this registry.

The existing builders that has the same key in this registry, if any, are preserved.

Parameters:
key - The key of the resource.
builder - The builder to store.
See Also:
Builder