org.openmobileis.embedded.modules
Class ModuleLoader

java.lang.Object
  extended byorg.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
 void postUnloadingInit()
           
abstract  void preLoadingInit()
          call before the loading of the services
 void preUnloadingInit()
           
 void unloadService(java.util.Hashtable servicesList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleLoader

public ModuleLoader()
Creates a new instance of ModuleLoader

Method Detail

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.


unloadService

public void unloadService(java.util.Hashtable servicesList)

preUnloadingInit

public void preUnloadingInit()

postUnloadingInit

public void postUnloadingInit()

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.