Package org.eso.ias.converter.config
Interface IasioConfigurationDAO
- All Known Implementing Classes:
Cache
,ConfigurationDaoBase
public interface IasioConfigurationDAO
The DAO interface to get the configuration of the DAO.
Implementers of this interface get the configuration of the monitor point from the configuration database: calling this method can considerably slow down the conversion task.
It is recommended to reduce the accesses to the configuration database for example with a cache.
- Author:
- acaproni
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the DAO freeing all the acquired resourcesgetConfiguration
(String mpId) Get the configuration of the the monitor point with the passed ID.void
Initialize the DAOboolean
isClosed()
boolean
-
Method Details
-
initialize
Initialize the DAO- Throws:
ConfigurationException
- in case of error initializing
-
isInitialized
boolean isInitialized()- Returns:
true
if the DAO has been initialized
-
getConfiguration
Get the configuration of the the monitor point with the passed ID.- Parameters:
mpId
- The notnull
nor empty ID of the MP- Returns:
- The configuration of the MP with the passed ID
or
null
if such configuration does not exist
-
close
Close the DAO freeing all the acquired resources- Throws:
ConfigurationException
- in case of error closing
-
isClosed
boolean isClosed()- Returns:
true
if the DAO has been closed
-