Package org.sensorhub.api.module
Interface IModuleManagerFactory
public interface IModuleManagerFactory
Interface for the overall module managers factory. This is a top level structure that has to be called to get instances of module managers.
- Since:
- Nov 15, 2010
-
Method Summary
Modifier and TypeMethodDescription<ModuleType extends IModule<?>>
IModuleManager<ModuleType>getManager
(Class<ModuleType> moduleType) Gets the manager instance handling the specified type of module.<ModuleType extends IModule<?>>
IModuleManager<ModuleType>getManager
(Class<ModuleType> moduleType, Map<String, Object> hints) Gets the manager instance handling the specified type of module and that provides as much functionality specified by the hints table as possible.
-
Method Details
-
getManager
Gets the manager instance handling the specified type of module. The default manager is created if non have been started explicitely.- Parameters:
moduleType
-- Returns:
- The concrete manager instance
-
getManager
<ModuleType extends IModule<?>> IModuleManager<ModuleType> getManager(Class<ModuleType> moduleType, Map<String, Object> hints) Gets the manager instance handling the specified type of module and that provides as much functionality specified by the hints table as possible.- Parameters:
moduleType
-hints
-- Returns:
- module manager instance for the given module type
-