Class AbstractDarabasePersistence

java.lang.Object
org.jppf.admin.web.settings.AbstractPersistence
org.jppf.admin.web.settings.AbstractDarabasePersistence
All Implemented Interfaces:
AutoCloseable, Persistence

public abstract class AbstractDarabasePersistence extends AbstractPersistence
File-based settings persistence.
Author:
Laurent Cohen
  • Constructor Details

    • AbstractDarabasePersistence

      public AbstractDarabasePersistence()
  • Method Details

    • loadString

      public String loadString(String name) throws Exception
      Description copied from interface: Persistence
      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.
    • getDSName

      protected String getDSName()
      Returns:
      the JNDI name of the JPPF datasource.
    • getDataSource

      protected DataSource getDataSource() throws Exception
      Returns:
      a reference ot the JPPF datasource.
      Throws:
      Exception - if any error occurs.