Package org.opennms.netmgt.dao.api
Interface ProvisiondConfigurationDao
-
- All Known Implementing Classes:
DefaultProvisiondConfigurationDao
public interface ProvisiondConfigurationDaoDAO interface for Provisiond configuration- Version:
- $Id: $
- Author:
- David Hustace
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProvisiondConfigurationgetConfig()getConfigRequisitionDefgetDef(java.lang.String defName)getDefjava.util.List<RequisitionDef>getDefs()getDefsjava.lang.StringgetForeignSourceDir()getForeignSourceDirjava.lang.IntegergetImportThreads()getImportThreadsjava.lang.StringgetRequisitionDir()getRequisitionDirjava.lang.IntegergetRescanThreads()getRescanThreadsjava.lang.IntegergetScanThreads()getScanThreadsjava.lang.IntegergetWriteThreads()getWriteThreadsvoidreloadConfiguration()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
ProvisiondConfigurationobject.
-
getDef
RequisitionDef getDef(java.lang.String defName)
getDef
- Parameters:
defName- aStringobject.- Returns:
- a
RequisitionDefobject.
-
getDefs
java.util.List<RequisitionDef> getDefs()
getDefs
- Returns:
- a
Listobject.
-
getImportThreads
java.lang.Integer getImportThreads()
getImportThreads
- Returns:
- a
Integerobject.
-
getScanThreads
java.lang.Integer getScanThreads()
getScanThreads
- Returns:
- a
Integerobject.
-
getRescanThreads
java.lang.Integer getRescanThreads()
getRescanThreads
- Returns:
- a
Integerobject.
-
getWriteThreads
java.lang.Integer getWriteThreads()
getWriteThreads
- Returns:
- a
Integerobject.
-
getRequisitionDir
java.lang.String getRequisitionDir()
getRequisitionDir
- Returns:
- a
Stringobject.
-
getForeignSourceDir
java.lang.String getForeignSourceDir()
getForeignSourceDir
- Returns:
- a
Stringobject.
-
reloadConfiguration
void reloadConfiguration() throws org.springframework.dao.DataAccessResourceFailureExceptionThe 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.
-
-