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 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 () |
|
return the property with specified key for specified service. null if not found. Definition at line 106 of file ServicePropertiesManager.java. |
|
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. |