org.apache.hivemind
Interface ModuleDescriptorProvider

All Known Implementing Classes:
XmlModuleDescriptorProvider

public interface ModuleDescriptorProvider

ModuleDescriptorProviders are used by the RegistryBuilder (see RegistryBuilder.addModuleDescriptorProvider(ModuleDescriptorProvider)) to load the ModuleDescriptor objects describing the Modules which will be exposed by the Registry.

HiveMind's default ModuleDescriptorProvider is the XmlModuleDescriptorProvider, which can load module descriptors from XML files or resources on the classpath.

Since:
1.1
Author:
Knut Wannheden

Method Summary
 java.util.List getModuleDescriptors(ErrorHandler handler)
          Returns a List of module descriptors.
 

Method Detail

getModuleDescriptors

java.util.List getModuleDescriptors(ErrorHandler handler)
Returns a List of module descriptors. Any referenced submodules must also be included in this List.