public class RegistryInfrastructureConstructor extends java.lang.Object
ModuleDescriptor
s, this class will assemble
them into a final RegistryInfrastructure
as well as perform
some validations.
This class was extracted from RegistryBuilder
.
Constructor and Description |
---|
RegistryInfrastructureConstructor(ErrorHandler errorHandler,
org.apache.commons.logging.Log log,
RegistryAssembly assembly) |
Modifier and Type | Method and Description |
---|---|
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) . |
public RegistryInfrastructureConstructor(ErrorHandler errorHandler, org.apache.commons.logging.Log log, RegistryAssembly assembly)
public RegistryInfrastructure constructRegistryInfrastructure(java.util.Locale locale)
addModuleDescriptor(ModuleDescriptor)
. Expects that all post-processing of the
RegistryAssembly
has already occured.public void addModuleDescriptor(ModuleDescriptor md)