org.openmobileis.embedded.modules
Class ModuleLoader
java.lang.Object
|
+--org.openmobileis.embedded.modules.ModuleLoader
- public abstract class ModuleLoader
- extends java.lang.Object
Title: OpenMobileIS project source
Description: Class that load module and manage the module life cycle.
All module service must implements the ModuleService interface.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
Constructor Summary |
ModuleLoader()
Creates a new instance of ModuleLoader |
Method Summary |
Service |
getService(java.lang.String serviceName)
return the service with the specified service name if exist. |
abstract java.lang.String[] |
getServiceClassList()
call to get all service classes to load. |
void |
loadService(java.util.Hashtable servicesList)
load all service attached to this module and reference them in the specified table. |
abstract void |
postLoadingInit()
call after the loading of the services |
abstract void |
preLoadingInit()
call before the loading of the services |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleLoader
public ModuleLoader()
- Creates a new instance of ModuleLoader
preLoadingInit
public abstract void preLoadingInit()
- call before the loading of the services
postLoadingInit
public abstract void postLoadingInit()
- call after the loading of the services
loadService
public void loadService(java.util.Hashtable servicesList)
- load all service attached to this module and reference them in the specified table.
getServiceClassList
public abstract java.lang.String[] getServiceClassList()
- call to get all service classes to load.
getService
public Service getService(java.lang.String serviceName)
- return the service with the specified service name if exist. Null otherwise.
Copyright 2005 e-Care. All Rights Reserved.