TAO_Implementation_Repository  2.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
Collaboration diagram for Locator_XMLHandler:
Collaboration graph

Classes

struct  EnvVar
 

Public Types

typedef std::pair< ACE_CString,
ACE_CString
NameValue
 
typedef std::vector< NameValueNameValues
 
typedef std::vector< EnvVarEnvList
 

Public Member Functions

 Locator_XMLHandler (XML_Backing_Store &repo, CORBA::ORB_ptr orb)
 
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")
 

Private Attributes

XML_Backing_Storerepo_
 the repository More...
 
ACE_CString server_id_
 the server related parameters More...
 
ACE_TString server_name_
 
bool jacorb_server_
 
ACE_TString activator_name_
 
ACE_TString command_line_
 
ACE_TString activation_
 
ACE_TString working_dir_
 
ACE_TString server_object_ior_
 
ACE_TString partial_ior_
 
int start_limit_
 
bool server_started_
 
NameValues extra_params_
 
unsigned int repo_id_
 
unsigned int repo_type_
 
EnvList env_vars_
 
CORBA::ORB_var orb_
 the orb More...
 

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,
CORBA::ORB_ptr  orb 
)

constructor

Parameters
repothe repo to update based on XML
orbthe orb (used to create server object)

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

ACE_TString Locator_XMLHandler::activation_
private
const ACE_TCHAR * Locator_XMLHandler::ACTIVATOR_INFO_TAG = ACE_TEXT("Activators")
static
ACE_TString Locator_XMLHandler::activator_name_
private
ACE_TString Locator_XMLHandler::command_line_
private
EnvList Locator_XMLHandler::env_vars_
private
const ACE_TCHAR * Locator_XMLHandler::ENVIRONMENT_TAG = ACE_TEXT("EnvironmentVariables")
static
NameValues Locator_XMLHandler::extra_params_
private
bool Locator_XMLHandler::jacorb_server_
private
CORBA::ORB_var Locator_XMLHandler::orb_
private

the orb

ACE_TString Locator_XMLHandler::partial_ior_
private
XML_Backing_Store& Locator_XMLHandler::repo_
private

the repository

unsigned int Locator_XMLHandler::repo_id_
private
unsigned int Locator_XMLHandler::repo_type_
private
const ACE_TCHAR * Locator_XMLHandler::ROOT_TAG = ACE_TEXT("ImplementationRepository")
static
ACE_CString Locator_XMLHandler::server_id_
private

the server related parameters

const ACE_TCHAR * Locator_XMLHandler::SERVER_INFO_TAG = ACE_TEXT("Servers")
static
ACE_TString Locator_XMLHandler::server_name_
private
ACE_TString Locator_XMLHandler::server_object_ior_
private
bool Locator_XMLHandler::server_started_
private
int Locator_XMLHandler::start_limit_
private
ACE_TString Locator_XMLHandler::working_dir_
private

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