TAO_Implementation_Repository
2.1.8
|
Heap file backing store containing all ImR persistent information. More...
#include <Config_Backing_Store.h>
Public Member Functions | |
Heap_Backing_Store (const Options &opts, CORBA::ORB_ptr orb) | |
virtual | ~Heap_Backing_Store () |
virtual const ACE_TCHAR * | repo_mode () const |
indicate the Heap filename as the persistence mode for the repository More... | |
![]() | |
Config_Backing_Store (const Options &opts, CORBA::ORB_ptr orb, ACE_Configuration &config) | |
virtual | ~Config_Backing_Store () |
![]() | |
Locator_Repository (const Options &opts, CORBA::ORB_ptr orb) | |
virtual | ~Locator_Repository () |
int | unregister_if_address_reused (const ACE_CString &server_id, const ACE_CString &name, const char *partial_ior) |
int | add_server (const ACE_CString &server_id, const ACE_CString &name, bool jacorbs, const ACE_CString &aname, const ACE_CString &startup_command, const ImplementationRepository::EnvironmentList &environment_vars, const ACE_CString &working_dir, ImplementationRepository::ActivationMode activation, int start_limit, const ACE_CString &partial_ior=ACE_CString(""), const ACE_CString &ior=ACE_CString(""), ImplementationRepository::ServerObject_ptr svrobj=ImplementationRepository::ServerObject::_nil()) |
Add a new server to the Repository. More... | |
int | add_activator (const ACE_CString &name, const CORBA::Long token, const ACE_CString &ior=ACE_CString(""), ImplementationRepository::Activator_ptr act=ImplementationRepository::Activator::_nil()) |
Add a new activator to the Repository. More... | |
int | update_server (const Server_Info_Ptr &info) |
Update the associated information. More... | |
int | update_activator (const Activator_Info_Ptr &info) |
Update the associated information. More... | |
Server_Info_Ptr | get_server (const ACE_CString &name) |
Returns information related to startup. More... | |
Activator_Info_Ptr | get_activator (const ACE_CString &name) |
Returns information related to startup. More... | |
bool | has_activator (const ACE_CString &name) |
int | remove_server (const ACE_CString &name) |
Removes the server from the Repository. More... | |
int | remove_activator (const ACE_CString &name) |
Removes the activator from the Repository. More... | |
SIMap & | servers (void) |
Returns the internal hash map containing the server information. More... | |
const SIMap & | servers (void) const |
AIMap & | activators (void) |
Returns the internal hash map containing the activator information. More... | |
const AIMap & | activators (void) const |
int | init (PortableServer::POA_ptr root_poa, PortableServer::POA_ptr imr_poa, const char *this_ior) |
Initialize the repo. More... | |
bool | multicast () const |
Indicate if multicast should be used. More... | |
Private Attributes | |
const ACE_TString | filename_ |
the Heap filename More... | |
ACE_Configuration_Heap | heap_ |
the Heap used for the actual backing store More... | |
Additional Inherited Members | |
![]() | |
typedef ACE_CString | ServerKey |
typedef ACE_Hash_Map_Manager_Ex < ServerKey, Server_Info_Ptr, ACE_Hash< ServerKey > , ACE_Equal_To< ServerKey > , ACE_Null_Mutex > | SIMap |
typedef ACE_CString | ActivatorKey |
typedef ACE_Hash_Map_Manager_Ex < ActivatorKey, Activator_Info_Ptr, ACE_Hash < ActivatorKey >, ACE_Equal_To < ActivatorKey > , ACE_Null_Mutex > | AIMap |
![]() | |
static ACE_CString | lcase (const ACE_CString &s) |
convert to lower case More... | |
![]() | |
virtual int | init_repo (PortableServer::POA_ptr imr_poa) |
virtual int | persistent_update (const Server_Info_Ptr &info, bool add) |
perform server persistent update More... | |
virtual int | persistent_update (const Activator_Info_Ptr &info, bool add) |
perform activator persistent update More... | |
virtual int | persistent_remove (const ACE_CString &name, bool activator) |
perform persistent remove More... | |
int | remove (const ACE_CString &name, const ACE_TCHAR *key) |
remove the section with the given name from the key section More... | |
![]() | |
ACE_Configuration & | config_ |
the ACE_Configuration backing store More... | |
int | status_ |
the status of the config_ More... | |
Heap file backing store containing all ImR persistent information.
Heap_Backing_Store::Heap_Backing_Store | ( | const Options & | opts, |
CORBA::ORB_ptr | orb | ||
) |
|
virtual |
|
virtual |
indicate the Heap filename as the persistence mode for the repository
Implements Locator_Repository.
|
private |
the Heap filename
|
private |
the Heap used for the actual backing store