TAO_Implementation_Repository  2.3.3
Classes | Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Locator_XMLHandler Class Reference

#include <Locator_XMLHandler.h>

Inheritance diagram for Locator_XMLHandler:
Inheritance graph
[legend]
Collaboration diagram for Locator_XMLHandler:
Collaboration graph
[legend]

Classes

struct  EnvVar
 

Public Types

typedef std::pair< ACE_CString, ACE_CStringNameValue
 
typedef std::vector< NameValueNameValues
 
typedef std::vector< EnvVarEnvList
 
typedef std::vector< ACE_CStringPeerList
 

Public Member Functions

 Locator_XMLHandler (XML_Backing_Store &repo)
 
virtual void startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Attributes *atts)
 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...
 

Static Public Attributes

static const ACE_TCHARROOT_TAG = ACE_TEXT("ImplementationRepository")
 
static const ACE_TCHARSERVER_INFO_TAG = ACE_TEXT("Servers")
 
static const ACE_TCHARENVIRONMENT_TAG = ACE_TEXT("EnvironmentVariables")
 
static const ACE_TCHARACTIVATOR_INFO_TAG = ACE_TEXT("Activators")
 
static const ACE_TCHARSERVER_TAG = ACE_TEXT("server_id")
 
static const ACE_TCHARPOANAME_TAG = ACE_TEXT("poa_name")
 
static const ACE_TCHARJACORB_TAG = ACE_TEXT("is_jacorb")
 
static const ACE_TCHARACTNAME_TAG = ACE_TEXT("activator")
 
static const ACE_TCHARCMDLINE_TAG = ACE_TEXT("command_line")
 
static const ACE_TCHARDIR_TAG = ACE_TEXT("working_dir")
 
static const ACE_TCHARMODE_TAG = ACE_TEXT("activation_mode")
 
static const ACE_TCHARLIMIT_TAG = ACE_TEXT("start_limit")
 
static const ACE_TCHARPARTIOR_TAG = ACE_TEXT("partial_ior")
 
static const ACE_TCHARIOR_TAG = ACE_TEXT("ior")
 
static const ACE_TCHARSTARTED_TAG = ACE_TEXT("started")
 
static const ACE_TCHARPEER_TAG = ACE_TEXT("peer")
 
static const ACE_TCHARPID_TAG = ACE_TEXT("pid")
 
static const ACE_TCHARKEYNAME_TAG = ACE_TEXT("key_name")
 
static const ACE_TCHARALTKEY_TAG = ACE_TEXT("altkey")
 

Private Attributes

XML_Backing_Storerepo_
 the repository More...
 
Server_Infosi_
 
bool server_started_
 
NameValues extra_params_
 
EnvList env_vars_
 
PeerList peer_list_
 

Detailed Description

Callback SAX XML Handler for parsing Locator XML.

Member Typedef Documentation

typedef std::vector<EnvVar> Locator_XMLHandler::EnvList

Constructor & Destructor Documentation

Locator_XMLHandler::Locator_XMLHandler ( XML_Backing_Store repo)

constructor

Parameters
repothe repo to update based on XML

Member Function Documentation

void Locator_XMLHandler::endElement ( const ACEXML_Char *  namespaceURI,
const ACEXML_Char *  localName,
const ACEXML_Char *  qName 
)
virtual

provide implementation for handling terminating an XML element

void Locator_XMLHandler::startElement ( const ACEXML_Char *  namespaceURI,
const ACEXML_Char *  localName,
const ACEXML_Char *  qName,
ACEXML_Attributes *  atts 
)
virtual

provide implementation for handling a new XML element

Member Data Documentation

const ACE_TCHAR * Locator_XMLHandler::ACTIVATOR_INFO_TAG = ACE_TEXT("Activators")
static
const ACE_TCHAR * Locator_XMLHandler::ACTNAME_TAG = ACE_TEXT("activator")
static
const ACE_TCHAR * Locator_XMLHandler::ALTKEY_TAG = ACE_TEXT("altkey")
static
const ACE_TCHAR * Locator_XMLHandler::CMDLINE_TAG = ACE_TEXT("command_line")
static
const ACE_TCHAR * Locator_XMLHandler::DIR_TAG = ACE_TEXT("working_dir")
static
EnvList Locator_XMLHandler::env_vars_
private
const ACE_TCHAR * Locator_XMLHandler::ENVIRONMENT_TAG = ACE_TEXT("EnvironmentVariables")
static
NameValues Locator_XMLHandler::extra_params_
private
const ACE_TCHAR * Locator_XMLHandler::IOR_TAG = ACE_TEXT("ior")
static
const ACE_TCHAR * Locator_XMLHandler::JACORB_TAG = ACE_TEXT("is_jacorb")
static
const ACE_TCHAR * Locator_XMLHandler::KEYNAME_TAG = ACE_TEXT("key_name")
static
const ACE_TCHAR * Locator_XMLHandler::LIMIT_TAG = ACE_TEXT("start_limit")
static
const ACE_TCHAR * Locator_XMLHandler::MODE_TAG = ACE_TEXT("activation_mode")
static
const ACE_TCHAR * Locator_XMLHandler::PARTIOR_TAG = ACE_TEXT("partial_ior")
static
PeerList Locator_XMLHandler::peer_list_
private
const ACE_TCHAR * Locator_XMLHandler::PEER_TAG = ACE_TEXT("peer")
static
const ACE_TCHAR * Locator_XMLHandler::PID_TAG = ACE_TEXT("pid")
static
const ACE_TCHAR * Locator_XMLHandler::POANAME_TAG = ACE_TEXT("poa_name")
static
XML_Backing_Store& Locator_XMLHandler::repo_
private

the repository

const ACE_TCHAR * Locator_XMLHandler::ROOT_TAG = ACE_TEXT("ImplementationRepository")
static
const ACE_TCHAR * Locator_XMLHandler::SERVER_INFO_TAG = ACE_TEXT("Servers")
static
bool Locator_XMLHandler::server_started_
private
const ACE_TCHAR * Locator_XMLHandler::SERVER_TAG = ACE_TEXT("server_id")
static
Server_Info* Locator_XMLHandler::si_
private
const ACE_TCHAR * Locator_XMLHandler::STARTED_TAG = ACE_TEXT("started")
static

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