Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.embedded.modules.ModuleLoader Class Reference

List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Class that load module and manage the module life cycle.

All module service must implements the ModuleService interface.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 45 of file ModuleLoader.java.

Public Member Functions

 ModuleLoader ()
 Creates a new instance of ModuleLoader.
abstract void preLoadingInit ()
 call before the loading of the services
abstract void postLoadingInit ()
 call after the loading of the services
void loadService (java.util.Hashtable servicesList)
 load all service attached to this module and reference them in the specified table.
void unloadService (Hashtable servicesList)
void preUnloadingInit ()
void postUnloadingInit ()
abstract String[] getServiceClassList ()
 call to get all service classes to load.
Service getService (String serviceName)
 return the service with the specified service name if exist.


Member Function Documentation

Service org.openmobileis.embedded.modules.ModuleLoader.getService String  serviceName  ) 
 

return the service with the specified service name if exist.

Null otherwise.

Parameters:
 the service name to look for
Returns:
: the service found, null if not loaded.

Definition at line 134 of file ModuleLoader.java.

abstract String [] org.openmobileis.embedded.modules.ModuleLoader.getServiceClassList  )  [pure virtual]
 

call to get all service classes to load.

Parameters:
 
Returns:
:

void org.openmobileis.embedded.modules.ModuleLoader.loadService java.util.Hashtable  servicesList  ) 
 

load all service attached to this module and reference them in the specified table.

Parameters:
 Hashtable that will be filed with all services loaded. The key for each entry is the serviceName (ie URI).
Returns:
:

Definition at line 73 of file ModuleLoader.java.

References org.openmobileis.services.Service.getName(), and org.openmobileis.services.Service.getServiceUri().

Referenced by org.openmobileis.services.common.ServiceManager.addModuleLoader(), and org.openmobileis.services.common.ServiceManager.init().

abstract void org.openmobileis.embedded.modules.ModuleLoader.postLoadingInit  )  [pure virtual]
 

call after the loading of the services

Parameters:
 
Returns:
:

abstract void org.openmobileis.embedded.modules.ModuleLoader.preLoadingInit  )  [pure virtual]
 

call before the loading of the services

Parameters:
 
Returns:
:


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:38 2005 for OpenMobileIS by  doxygen 1.4.4