org.openmobileis.common.util.PersistentPropertiesManager 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 52 of file PersistentPropertiesManager.java.


Public Member Functions

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.

Member Function Documentation

void org.openmobileis.common.util.PersistentPropertiesManager.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 108 of file PersistentPropertiesManager.java.

String org.openmobileis.common.util.PersistentPropertiesManager.getProperty ( String  serviceName,
String  key 
)

return the property with specified key for specified service.

null if not found.

Definition at line 117 of file PersistentPropertiesManager.java.


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:20 2010 for OpenMobileIS by  doxygen 1.5.4