Package org.jppf.admin.web.settings
Interface Persistence
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
AbstractDarabasePersistence,AbstractFilePersistence,AbstractPersistence,JPPFAsyncFilePersistence,JPPFFilePersistence
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.jppf.utils.TypedPropertiesloadProperties(String name) Load the settings for the specified user.loadString(String name) Load the settings for the specified user.voidsaveProperties(String name, org.jppf.utils.TypedProperties settings) Save the settings for the specified user.voidsaveString(String name, String settings) Save the settings for the specified user.
-
Method Details
-
loadProperties
Load the settings for the specified user.- Parameters:
name- the name fo the file to load from.- Returns:
- the settings propeties loadded from the persistent store.
- Throws:
Exception- if any error occurs.
-
saveProperties
Save the settings for the specified user.- Parameters:
name- the name of the file to save to.settings- the settings to save.- Throws:
Exception- if any error occurs.
-
loadString
Load the settings for the specified user.- Parameters:
name- the name fo the file to load from.- Returns:
- the settings propeties loadded from the persistent store.
- Throws:
Exception- if any error occurs.
-
saveString
Save the settings for the specified user.- Parameters:
name- the name of the file to save to.settings- the settings to save.- Throws:
Exception- if any error occurs.
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-