org.apache.hivemind.impl
Interface RegistryProvider

All Known Implementing Classes:
CoreServicesProvider

public interface RegistryProvider

A registry provider contributes module definitions to a RegistryDefinition. It must be implemented to participate in the registry autoloading mechanism triggered by RegistryBuilder.autoDetectModules() and described in RegistryProviderAutoDetector. The implementations must have a no arguments constructor.

Author:
Achim Huegen

Method Summary
 void process(RegistryDefinition registryDefinition, ErrorHandler errorHandler)
          Called during the registry definition phase, before the registry is constructed.
 

Method Detail

process

void process(RegistryDefinition registryDefinition,
             ErrorHandler errorHandler)
Called during the registry definition phase, before the registry is constructed. New module definitions can be added to the registry and existing can be altered.

Parameters:
registryDefinition - the registry definition
errorHandler - an error handler to call when errors occur.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.