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

org.openmobileis.embedded.util.ServicePropertiesManager Class Reference

List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Utility classe to allow to store is the properties file misc.properties service properties to be use later.

The storage is persistent. Use this classe when you want to store or get specific service properties. The misc.properties file is created during the first start of the embedded server after installation. Stored properties are mostly runtime properties that are not usefull for the first start. To store service proerties that are needed for the first start use the webserver.properties.

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

Definition at line 50 of file ServicePropertiesManager.java.

Public Member Functions

 ServicePropertiesManager (String propertiersFileName)
void saveProperty (String serviceName, String key, String value)
 save the property (key, value) for specified serviceName.
String getProperty (String serviceName, String key)
 return the property with specified key for specified service.
Array getPropertyKeysForService (String serviceName)
void deleteProperty (String serviceName, String key)

Static Public Member Functions

static ServicePropertiesManager getManager ()


Member Function Documentation

String org.openmobileis.embedded.util.ServicePropertiesManager.getProperty String  serviceName,
String  key
 

return the property with specified key for specified service.

null if not found.

Definition at line 106 of file ServicePropertiesManager.java.

void org.openmobileis.embedded.util.ServicePropertiesManager.saveProperty String  serviceName,
String  key,
String  value
 

save the property (key, value) for specified serviceName.

key must have less or equals than 15 caractere and value less or equals than 30

Definition at line 97 of file ServicePropertiesManager.java.


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