|
TAO_Implementation_Repository
2.3.4
|


Public Member Functions | |
| LocatorListings_XMLHandler (const ACE_TString &dir) | |
| LocatorListings_XMLHandler (const ACE_TString &dir, const Locator_Repository::SIMap &servers, const Locator_Repository::AIMap &activators) | |
| virtual void | startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Attributes *attrs) |
| provide implementation for handling a new XML element More... | |
| virtual void | endElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName) |
| provide implementation for handling terminating an XML element More... | |
| void | remove_unmatched (Locator_Repository &repo) |
| const ACE_Vector< ACE_TString > & | filenames () const |
Private Attributes | |
| const ACE_TString & | dir_ |
| the directory to add to the listings file relative filenames More... | |
| ACE_Vector< ACE_TString > | filenames_ |
| the filenames identified in the listings file (or the new filenames) More... | |
| Locator_Repository::SIMap | unmatched_servers_ |
| Locator_Repository::AIMap | unmatched_activators_ |
| const bool | only_changes_ |
| indicates if only changes should be tracked More... | |
Callback SAX XML Handler for parsing the imr_listings.xml file.
| Shared_Backing_Store::LocatorListings_XMLHandler::LocatorListings_XMLHandler | ( | const ACE_TString & | dir | ) |
constructor
| dir | the directory path to add to the server or activator filename |
| Shared_Backing_Store::LocatorListings_XMLHandler::LocatorListings_XMLHandler | ( | const ACE_TString & | dir, |
| const Locator_Repository::SIMap & | servers, | ||
| const Locator_Repository::AIMap & | activators | ||
| ) |
constructor for tracking only changes to what servers and activators are currently in the repo
| dir | the directory path to add to the server or activator filename |
| servers | a map of servers currently in the repo |
| activators | a map of activators currently in the repo |
|
virtual |
provide implementation for handling terminating an XML element
| const ACE_Vector< ACE_TString > & Shared_Backing_Store::LocatorListings_XMLHandler::filenames | ( | ) | const |
the filenames identified in the listings file, if tracking changes only then only the filenames of the new servers and activators
| void Shared_Backing_Store::LocatorListings_XMLHandler::remove_unmatched | ( | Locator_Repository & | repo | ) |
remove the servers and activators that were in the repo but not in the listings file (this does nothing if existing servers and activators were not provided in constructor)
|
virtual |
provide implementation for handling a new XML element
|
private |
the directory to add to the listings file relative filenames
|
private |
the filenames identified in the listings file (or the new filenames)
|
private |
indicates if only changes should be tracked
|
private |
the existing activators in the repo that were not present in the listings file
|
private |
the existing servers in the repo that were not present in the listings file
1.8.9.1