diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-12-15 04:33:46 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-12-15 04:33:46 +0000 |
commit | f1bfb59c2a126dbe0431e80319153ec4046cfe35 (patch) | |
tree | 5ad2f84c87372acc926e2c1bbcd9352755606c1a | |
parent | db22ff217c6a87bbfa6fce280597c4bb74b8db87 (diff) | |
download | ATCD-f1bfb59c2a126dbe0431e80319153ec4046cfe35.tar.gz |
ChangeLogTag: Sat Dec 14 22:30:22 2002 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 6 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp | 15 |
2 files changed, 15 insertions, 6 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 0643251a72e..cdbf3ee87f8 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,9 @@ +Sat Dec 14 22:30:22 2002 Jeff Parsons <j.parsons@vanderbilt.edu> + + * orbsvcs/orbsvcs/IFRService/IRObject_i.cpp (update_key): + + A few more tweaks for hopefully better performance. + Sat Dec 14 19:56:13 2002 Jeff Parsons <j.parsons@vanderbilt.edu> * TAO_IDL/be/be_visitor_exception/any_op_cs.cpp: diff --git a/TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp index 34465bbb440..40bf608493b 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp @@ -37,9 +37,8 @@ TAO_IRObject_i::update_key (ACE_ENV_SINGLE_ARG_DECL) ACE_static_cast (TAO_POA_Current_Impl *, TAO_TSS_RESOURCES::instance ()->poa_current_impl_); - TAO_ObjectKey object_key = pc_impl->object_key (); PortableServer::ObjectId object_id; - int status = TAO_POA::parse_ir_object_key (object_key, + int status = TAO_POA::parse_ir_object_key (pc_impl->object_key (), object_id); if (status != 0) { @@ -56,9 +55,13 @@ TAO_IRObject_i::update_key (ACE_ENV_SINGLE_ARG_DECL) return; } + ACE_TString path (oid_string, + 0, + 0); + status = this->repo_->config ()->expand_path (this->repo_->root_key (), - oid_string, + path, this->section_key_, 0); @@ -73,10 +76,10 @@ char * TAO_IRObject_i::int_to_string (CORBA::ULong number) { static char hex_string[9]; - ACE_OS::sprintf ((char *) hex_string, + ACE_OS::sprintf (hex_string, "%8.8X", number); - return (char *) hex_string; + return hex_string; } char * @@ -271,7 +274,7 @@ TAO_IRObject_i::create_objref (CORBA::DefinitionKind def_kind, repo_id += "IR/ComponentDef:"; break; case CORBA::dk_Home: - repo_id += "HomeDef:"; + repo_id += "IR/:"; break; case CORBA::dk_Factory: repo_id += "IR/FactoryDef:"; |