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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the DAO freeing all the acquired resourcesvoidInitialize the DAObooleanisClosed()booleanprotected abstract voidsetUp()Setup the DAO: the implementer user provider initialization of the DAO.protected abstract voidtearDown()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, waitMethods 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:IasioConfigurationDAOInitialize the DAO- Specified by:
initializein interfaceIasioConfigurationDAO- Throws:
ConfigurationException- in case of error initializing- See Also:
-
isInitialized
public boolean isInitialized()- Specified by:
isInitializedin interfaceIasioConfigurationDAO- Returns:
trueif 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:IasioConfigurationDAOClose the DAO freeing all the acquired resources- Specified by:
closein interfaceIasioConfigurationDAO- Throws:
ConfigurationException- in case of error closing- See Also:
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceIasioConfigurationDAO- Returns:
trueif the DAO has been closed- See Also:
-