Package org.eso.ias.converter.config
Class Cache
java.lang.Object
org.eso.ias.converter.config.ConfigurationDaoBase
org.eso.ias.converter.config.Cache
- All Implemented Interfaces:
IasioConfigurationDAO
A cache of IasioDao for the
ValueMapper
.
This class replaces IasioConfigurationDaoImpl with PCache
This class stores IasiosDao and templates.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration
(String mpId) Get the configuration of the the monitor point with the passed ID.protected void
setUp()
Initialize the DAO.protected void
tearDown()
Shuts down the DAOMethods inherited from class org.eso.ias.converter.config.ConfigurationDaoBase
close, initialize, isClosed, isInitialized
-
Constructor Details
-
Cache
-
-
Method Details
-
setUp
Initialize the DAO. Stores in the cache the IasioDaos and TemplateDaos read from the CDB- Specified by:
setUp
in classConfigurationDaoBase
- Throws:
ConfigurationException
- The exception returned in case of error initializing
-
tearDown
Shuts down the DAO- Specified by:
tearDown
in classConfigurationDaoBase
- Throws:
ConfigurationException
- in case of error shutting down
-
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
-