Package | Description |
---|---|
org.apache.hivemind.impl |
Implementations of interfaces defined in the org.apache.commons.hivemind package.
|
org.apache.hivemind.servlet |
Classes to support use of HiveMind within servlet applications.
|
org.apache.hivemind.test |
Base classes and utilities to support unit tests involving HiveMind.
|
Modifier and Type | Class and Description |
---|---|
class |
RegistryImpl
Implementation of
Registry that delegates to an instance of
RegistryInfrastructure . |
Modifier and Type | Method and Description |
---|---|
static Registry |
RegistryBuilder.constructDefaultRegistry()
Constructs a default registry based on just the modules visible to the thread context class
loader (this is sufficient is the majority of cases), and using the default locale.
|
Registry |
RegistryBuilder.constructRegistry(java.util.Locale locale)
This first loads all modules provided by the ModuleDescriptorProvider, then resolves all the
contributions, then constructs and returns the Registry.
|
Modifier and Type | Method and Description |
---|---|
protected Registry |
HiveMindFilter.constructRegistry(javax.servlet.FilterConfig config)
Invoked from
HiveMindFilter.init(FilterConfig) to actually construct the Registry. |
static Registry |
HiveMindFilter.getRegistry(javax.servlet.http.HttpServletRequest request)
Returns the
Registry that was stored as a request attribute inside method
HiveMindFilter.doFilter(ServletRequest, ServletResponse, FilterChain) . |
Modifier and Type | Method and Description |
---|---|
protected Registry |
HiveMindTestCase.buildFrameworkRegistry(ModuleDescriptorProvider customProvider)
Builds a registry, containing only the modules delivered by the specified
ModuleDescriptorProvider , plus the master module descriptor
(i.e., those visible on the classpath). |
protected Registry |
HiveMindTestCase.buildFrameworkRegistry(java.lang.String file)
Convienience method for invoking
HiveMindTestCase.buildFrameworkRegistry(String[]) with only a single
file. |
protected Registry |
HiveMindTestCase.buildFrameworkRegistry(java.lang.String[] files)
Builds a minimal registry, containing only the specified files, plus the master module
descriptor (i.e., those visible on the classpath).
|
protected Registry |
HiveMindTestCase.buildMinimalRegistry(Resource l)
Builds a registry from exactly the provided resource; this registry will not include the
hivemind module. |