Public Member Functions | |
void | loadFactory () |
void | recoverClients () |
String | getRecordPath (String curl) |
void | parseNode (DALNode node, XMLHandler xmlSolver) throws SAXException, IOException, AcsJCDBXMLErrorEx |
XMLHandler | loadRecords (String curl, boolean toString) throws AcsJCDBRecordDoesNotExistEx, AcsJCDBXMLErrorEx |
synchronized String | get_DAO (String curl) throws CDBRecordDoesNotExistEx, CDBXMLErrorEx |
synchronized DAO | get_DAO_Servant (String curl) throws CDBRecordDoesNotExistEx, CDBXMLErrorEx |
void | shutdown () |
void | loadListeners () |
boolean | saveListeners () |
int | add_change_listener (DALChangeListener listener) |
void | listen_for_changes (String curl, int listenerID) |
void | remove_change_listener (int listenerID) |
void | clear_cache (String curl) |
void | clear_cache_all () |
String | list_nodes (String name) |
String | list_daos (String name) |
String | configuration_name () |
SAXParser | getSaxParser () |
Static Public Member Functions | |
String | getSchemas (String m_root, Logger m_logger) |
void | getFiles (String filePath, LinkedHashMap map) |
Static Public Attributes | |
final String | SCHEMA_VALIDATION_FEATURE_ID |
final String | EXTERNAL_SCHEMA_LOCATION_PROPERTY_ID |
Protected Member Functions | |
void | object_changed (String curl) |
File | getStorageFile () |
void | cleanListenedCurls () |
Package Functions | |
DALImpl (String args[], ORB orb_val, POA poa_val) | |
Package Attributes | |
SAXParserFactory | factory |
SAXParser | saxParser |
File | listenersStorageFile = null |
Random | idPool = new Random() |
Logger | m_logger |
Static Package Attributes | |
String | m_root |
Private Member Functions | |
String | getSchemas () |
XMLHandler | loadRecord (String curl, boolean toString) throws AcsJCDBRecordDoesNotExistEx, AcsJCDBXMLErrorEx |
Static Private Member Functions | |
String | removeXMLs (String list) |
Private Attributes | |
ORB | orb |
POA | poa |
HashMap | daoMap = new HashMap() |
HashMap | listenedCurls = new HashMap() |
HashMap | regListeners = new HashMap() |
boolean | recoveryRead = true |
DALNode | rootNode = null |
|
|
|
|
|
Cleans listened curls from invalid listeners to avoid repeatedly calling invalid listeners |
|
|
|
Implements com::cosylab::CDB::JDALOperations.
|
|
Implements com::cosylab::CDB::DALOperations.
|
|
returns full expanded XML string |
|
create DAO servant with requested XML |
|
Adds all *.xsd files from filePath directory if file already exists in map it is skipped |
|
|
|
|
|
returns string of URIs separated by ' ' for all schema files in root/schemas and directories list given by ACS.cdbpath environment variable |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns a xml constructed of all records below given curl
|
|
|
|
|
|
Recovery related implementation. Load list of listeners from the recovery file and notifies them to clear cache. NOTICE: This method should be called when DAL POA is alrady initialized and active. NOTE: Method execution depends on Implements com::cosylab::cdb::jdal::Recoverer.
|
|
Implements com::cosylab::CDB::DALOperations.
|
|
|
|
|
|
Implements com::cosylab::CDB::DALOperations.
|
|
|
|
Initial value: Property for setting the mapping of URIs to XML schemas. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: Schema validation feature id (http://apache.org/xml/features/validation/schema). |