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(String defName)getDefList<RequisitionDef>getDefs()getDefsStringgetForeignSourceDir()getForeignSourceDirIntegergetImportThreads()getImportThreadsStringgetRequisitionDir()getRequisitionDirIntegergetRescanThreads()getRescanThreadsIntegergetScanThreads()getScanThreadsIntegergetWriteThreads()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(String defName)
getDef
- Parameters:
defName- aStringobject.- Returns:
- a
RequisitionDefobject.
-
getDefs
List<RequisitionDef> getDefs()
getDefs
- Returns:
- a
Listobject.
-
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.
-
-