summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_RPMS_Monitor_ORBInitializer.cpp
blob: 62a3f5dde8fc67a46b2df996b5a9143e34fa4b9a (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
27
28
29
30
31
32
33
34
35
// -*- C++ -*-

#include "LB_RPMS_Monitor_ORBInitializer.h"

ACE_RCSID (LoadBalancing,
           LB_RPMS_Monitor_ORBInitializer,
           "$Id$")


TAO_LB_RPMS_Monitor_ORBInitializer::TAO_LB_RPMS_Monitor_ORBInitializer (
  PortableInterceptor::ServerRequestInterceptor_ptr interceptor)
  : interceptor_ (interceptor)
{
}

void
TAO_LB_RPMS_Monitor_ORBInitializer::pre_init (
    PortableInterceptor::ORBInitInfo_ptr
    TAO_ENV_ARG_DECL_NOT_USED)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
}

void
TAO_LB_RPMS_Monitor_ORBInitializer::post_init (
    PortableInterceptor::ORBInitInfo_ptr info
    TAO_ENV_ARG_DECL)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  TAO_ENV_ARG_DEFN;

  info->add_server_request_interceptor (this->interceptor_,
                                        ACE_TRY_ENV);
  ACE_CHECK;
}