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(java.lang.String defName)
getDefjava.util.List<RequisitionDef>
getDefs()
getDefsjava.lang.String
getForeignSourceDir()
getForeignSourceDirjava.lang.Integer
getImportThreads()
getImportThreadsjava.lang.String
getRequisitionDir()
getRequisitionDirjava.lang.Integer
getRescanThreads()
getRescanThreadsjava.lang.Integer
getScanThreads()
getScanThreadsjava.lang.Integer
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(java.lang.String defName)
getDef
- Parameters:
defName
- aString
object.- Returns:
- a
RequisitionDef
object.
-
getDefs
java.util.List<RequisitionDef> getDefs()
getDefs
- Returns:
- a
List
object.
-
getImportThreads
java.lang.Integer getImportThreads()
getImportThreads
- Returns:
- a
Integer
object.
-
getScanThreads
java.lang.Integer getScanThreads()
getScanThreads
- Returns:
- a
Integer
object.
-
getRescanThreads
java.lang.Integer getRescanThreads()
getRescanThreads
- Returns:
- a
Integer
object.
-
getWriteThreads
java.lang.Integer getWriteThreads()
getWriteThreads
- Returns:
- a
Integer
object.
-
getRequisitionDir
java.lang.String getRequisitionDir()
getRequisitionDir
- Returns:
- a
String
object.
-
getForeignSourceDir
java.lang.String getForeignSourceDir()
getForeignSourceDir
- Returns:
- a
String
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.
-
-