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.
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. |
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.