alma::acs::logging::config::TestCDB Class Reference

Inheritance diagram for alma::acs::logging::config::TestCDB:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::config::TestCDB:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String get_DAO (String curl) throws CDBRecordDoesNotExistEx
DAO get_DAO_Servant (String curl)
void shutdown ()
int add_change_listener (DALChangeListener listener)
void listen_for_changes (String curl, int listenerID)
void remove_change_listener (int listenerID)
String list_nodes (String name)
String configuration_name ()
String list_daos (String name)

Package Functions

String addCurlToXmlMapping (String curl, String xml)
String removeCurl (String curl)
void setThrowException (boolean throwEx)

Private Attributes

Map< String, String > curlToXmlMap = new HashMap<String, String>()
boolean throwEx = false

Detailed Description

Author:
hsommer

Member Function Documentation

int alma::acs::logging::config::TestCDB::add_change_listener ( DALChangeListener  listener  )  [inline]
String alma::acs::logging::config::TestCDB::addCurlToXmlMapping ( String  curl,
String  xml 
) [inline, package]
String alma::acs::logging::config::TestCDB::configuration_name (  )  [inline]
String alma::acs::logging::config::TestCDB::get_DAO ( String  curl  )  throws CDBRecordDoesNotExistEx [inline]

Test impl of the only CDB method which actually gets used by the logging config classes.

References curlToXmlMap, throwEx, and alma::cdbErrType::wrappers::AcsJCDBRecordDoesNotExistEx::toCDBRecordDoesNotExistEx().

DAO alma::acs::logging::config::TestCDB::get_DAO_Servant ( String  curl  )  [inline]
String alma::acs::logging::config::TestCDB::list_daos ( String  name  )  [inline]
String alma::acs::logging::config::TestCDB::list_nodes ( String  name  )  [inline]
void alma::acs::logging::config::TestCDB::listen_for_changes ( String  curl,
int  listenerID 
) [inline]
void alma::acs::logging::config::TestCDB::remove_change_listener ( int  listenerID  )  [inline]
String alma::acs::logging::config::TestCDB::removeCurl ( String  curl  )  [inline, package]

References curlToXmlMap.

void alma::acs::logging::config::TestCDB::setThrowException ( boolean  throwEx  )  [inline, package]
void alma::acs::logging::config::TestCDB::shutdown (  )  [inline]

Member Data Documentation

Map<String, String> alma::acs::logging::config::TestCDB::curlToXmlMap = new HashMap<String, String>() [private]

Referenced by get_DAO().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2