Package org.opennms.netmgt.dao.api
Interface ProvisiondConfigurationDao
-
- All Known Implementing Classes:
DefaultProvisiondConfigurationDao
public interface ProvisiondConfigurationDao
DAO interface for Provisiond configuration- Version:
- $Id: $
- Author:
- David Hustace
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProvisiondConfiguration
getConfig()
getConfigRequisitionDef
getDef(String defName)
getDefList<RequisitionDef>
getDefs()
getDefsString
getForeignSourceDir()
getForeignSourceDirInteger
getImportThreads()
getImportThreadsString
getRequisitionDir()
getRequisitionDirInteger
getRescanThreads()
getRescanThreadsInteger
getScanThreads()
getScanThreadsInteger
getWriteThreads()
getWriteThreadsvoid
reloadConfiguration()
The underlying XML-based DAO abstraction in the default implementation doesn't provide access to the container so this method is defined so that access to the container doesn't have to be exposed and a reload can still be controlled by the user.
-
-
-
Method Detail
-
getConfig
ProvisiondConfiguration getConfig()
getConfig
- Returns:
- a
ProvisiondConfiguration
object.
-
getDef
RequisitionDef getDef(String defName)
getDef
- Parameters:
defName
- aString
object.- Returns:
- a
RequisitionDef
object.
-
getDefs
List<RequisitionDef> getDefs()
getDefs
- Returns:
- a
List
object.
-
reloadConfiguration
void reloadConfiguration() throws org.springframework.dao.DataAccessResourceFailureException
The underlying XML-based DAO abstraction in the default implementation doesn't provide access to the container so this method is defined so that access to the container doesn't have to be exposed and a reload can still be controlled by the user. Automatically reading in new values if the file changes is a different use case from expecting the services to alter their state based on a configuration change. This method will most likely be used with event processing and possibly in the ReST API.- Throws:
org.springframework.dao.DataAccessResourceFailureException
- if any.
-
-