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 SummaryAll 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- 
getConfigProvisiondConfiguration getConfig() getConfig - Returns:
- a ProvisiondConfigurationobject.
 
 - 
getDefRequisitionDef getDef(java.lang.String defName) getDef - Parameters:
- defName- a- Stringobject.
- Returns:
- a RequisitionDefobject.
 
 - 
getDefsjava.util.List<RequisitionDef> getDefs() getDefs - Returns:
- a Listobject.
 
 - 
getImportThreadsjava.lang.Integer getImportThreads() getImportThreads - Returns:
- a Integerobject.
 
 - 
getScanThreadsjava.lang.Integer getScanThreads() getScanThreads - Returns:
- a Integerobject.
 
 - 
getRescanThreadsjava.lang.Integer getRescanThreads() getRescanThreads - Returns:
- a Integerobject.
 
 - 
getWriteThreadsjava.lang.Integer getWriteThreads() getWriteThreads - Returns:
- a Integerobject.
 
 - 
getRequisitionDirjava.lang.String getRequisitionDir() getRequisitionDir - Returns:
- a Stringobject.
 
 - 
getForeignSourceDirjava.lang.String getForeignSourceDir() getForeignSourceDir - Returns:
- a Stringobject.
 
 - 
reloadConfigurationvoid 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.
 
 
- 
 
-