Package org.jppf.admin.web.settings
Class AbstractDarabasePersistence
java.lang.Object
org.jppf.admin.web.settings.AbstractPersistence
org.jppf.admin.web.settings.AbstractDarabasePersistence
- All Implemented Interfaces:
AutoCloseable,Persistence
File-based settings persistence.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DataSourceprotected StringloadString(String name) Load the settings for the specified user.Methods inherited from class org.jppf.admin.web.settings.AbstractPersistence
close, loadProperties, savePropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.admin.web.settings.Persistence
saveString
-
Constructor Details
-
AbstractDarabasePersistence
public AbstractDarabasePersistence()
-
-
Method Details
-
loadString
Description copied from interface:PersistenceLoad 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.
-
getDSName
- Returns:
- the JNDI name of the JPPF datasource.
-
getDataSource
- Returns:
- a reference ot the JPPF datasource.
- Throws:
Exception- if any error occurs.
-