org.apache.hivemind.impl
Class RegistryInfrastructureConstructor

java.lang.Object
  extended by org.apache.hivemind.impl.RegistryInfrastructureConstructor

public class RegistryInfrastructureConstructor
extends java.lang.Object

Fed a series of ModuleDescriptors, this class will assemble them into a final RegistryInfrastructure as well as perform some validations.

This class was extracted from RegistryBuilder.

Since:
1.1
Author:
Howard M. Lewis Ship

Constructor Summary
RegistryInfrastructureConstructor(ErrorHandler errorHandler, org.apache.commons.logging.Log log, RegistryAssembly assembly)
           
 
Method Summary
 void addModuleDescriptor(ModuleDescriptor md)
           
 RegistryInfrastructure constructRegistryInfrastructure(java.util.Locale locale)
          Constructs the registry infrastructure, based on data collected during the prior calls to addModuleDescriptor(ModuleDescriptor).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryInfrastructureConstructor

public RegistryInfrastructureConstructor(ErrorHandler errorHandler,
                                         org.apache.commons.logging.Log log,
                                         RegistryAssembly assembly)
Method Detail

constructRegistryInfrastructure

public RegistryInfrastructure constructRegistryInfrastructure(java.util.Locale locale)
Constructs the registry infrastructure, based on data collected during the prior calls to addModuleDescriptor(ModuleDescriptor). Expects that all post-processing of the RegistryAssembly has already occured.


addModuleDescriptor

public void addModuleDescriptor(ModuleDescriptor md)