Package org.eso.ias.converter.config
Class ConfigurationDaoBase
java.lang.Object
org.eso.ias.converter.config.ConfigurationDaoBase
- All Implemented Interfaces:
IasioConfigurationDAO
- Direct Known Subclasses:
Cache
Base class for the implementers of the
IasioConfigurationDAO
.- Author:
- acaproni
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the DAO freeing all the acquired resourcesvoid
Initialize the DAOboolean
isClosed()
boolean
protected abstract void
setUp()
Setup the DAO: the implementer user provider initialization of the DAO.protected abstract void
tearDown()
Shuts down the DAO: the user provided closing.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eso.ias.converter.config.IasioConfigurationDAO
getConfiguration
-
Constructor Details
-
ConfigurationDaoBase
public ConfigurationDaoBase()
-
-
Method Details
-
setUp
Setup the DAO: the implementer user provider initialization of the DAO.- Throws:
ConfigurationException
- The exception returned in case of error initializing
-
initialize
Description copied from interface:IasioConfigurationDAO
Initialize the DAO- Specified by:
initialize
in interfaceIasioConfigurationDAO
- Throws:
ConfigurationException
- in case of error initializing- See Also:
-
isInitialized
public boolean isInitialized()- Specified by:
isInitialized
in interfaceIasioConfigurationDAO
- Returns:
true
if the DAO has been initialized- See Also:
-
tearDown
Shuts down the DAO: the user provided closing.- Throws:
ConfigurationException
- in case of error shutting down
-
close
Description copied from interface:IasioConfigurationDAO
Close the DAO freeing all the acquired resources- Specified by:
close
in interfaceIasioConfigurationDAO
- Throws:
ConfigurationException
- in case of error closing- See Also:
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceIasioConfigurationDAO
- Returns:
true
if the DAO has been closed- See Also:
-