Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ImR_Locator Class Reference

Implementation Repository INS Locator class. More...

#include <Locator.h>

Inheritance diagram for ImR_Locator:

Inheritance graph
[legend]
Collaboration diagram for ImR_Locator:

Collaboration graph
[legend]
List of all members.

Public Methods

 ImR_Locator (ImR_Activator_i *repo)
 Constructor. More...

char * locate (const char *object_key ACE_ENV_ARG_DECL) throw (CORBA::SystemException, IORTable::NotFound)
 Locate the appropriate IOR. More...


Private Attributes

ImR_Activator_irepo_
 The Implementation Repository implementation. More...


Detailed Description

Implementation Repository INS Locator class.

This class provides a callback for the IORTable to call when it needs to dynamically receive a IOR to forward in response to an INS request.

Definition at line 37 of file Locator.h.


Constructor & Destructor Documentation

ImR_Locator::ImR_Locator ImR_Activator_i   repo
 

Constructor.

Definition at line 16 of file Locator.cpp.

00017   :  repo_ (repo)
00018 {
00019 }


Member Function Documentation

char * ImR_Locator::locate const char *object_key    ACE_ENV_ARG_DECL throw (CORBA::SystemException, IORTable::NotFound) [virtual]
 

Locate the appropriate IOR.

Implements IORTable::Locator.

Definition at line 22 of file Locator.cpp.

References ACE_CString, ACE_ENV_ARG_DECL, and ACE_ENV_ARG_PARAMETER.

00025 {
00026   ACE_CString key (object_key);
00027   return this->repo_->find_ior (key ACE_ENV_ARG_PARAMETER);
00028 }


Member Data Documentation

ImR_Activator_i* ImR_Locator::repo_ [private]
 

The Implementation Repository implementation.

Definition at line 51 of file Locator.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 20:03:49 2003 for TAO_Implementation_Repository by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002