public interface AvailabilityTestableModuleDefinition
ModuleDefinition
s that have a method for availablility testing.
A module is declared "available" if the WGA runtime is in a situation where the module can be actually used.
This is to differ from module dependencies, which determine if the module is able to run.
The content store authentication module has no "dependencies" which might prevent it from running correctly,
but when the WGA runtime has no databases connected that can be used as authentication source it should
be regarded "not available".Modifier and Type | Method and Description |
---|---|
void |
testAvailability(ModuleRegistry reg)
Called to test availability of this module
|
void testAvailability(ModuleRegistry reg) throws ModuleAvailabilityException
reg
- The registry, so the method can retrieve neccessary context for the operationModuleAvailabilityException
- if the module is not available