summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp
blob: 7dff48ece997423a4f1c1ee72ab30c4e6dbaf709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//=============================================================================
/**
 *  @file   INS_Locator.cpp
 *
 *  $Id$
 *
 *  @brief  Implementation of the ImR's INS Locator class
 *
 *  @author Darrell Brunsch <brunsch@cs.wustl.edu>
 */
//=============================================================================

#include "INS_Locator.h"
#include "ImR_Locator_i.h"

INS_Locator::INS_Locator (ImR_Locator_i* loc)
  :  imr_locator_ (loc)
{
}

char *
INS_Locator::locate (const char* object_key ACE_ENV_ARG_DECL)
  ACE_THROW_SPEC ((CORBA::SystemException, IORTable::NotFound))
{
  return this->imr_locator_->find_ior (object_key ACE_ENV_ARG_PARAMETER);
}