summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/PortableInterceptors/PICurrent/ServerInitializer.cpp
blob: fc609c531c5bedd99b003bdcd262bc1d9c34e697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "ServerInitializer.h"
#include "ServerInterceptor.h"

ServerInitializer::ServerInitializer ()
{
}

void
ServerInitializer::pre_init (
    PortableInterceptor::ORBInitInfo_ptr)
{
}

void
ServerInitializer::post_init (
    PortableInterceptor::ORBInitInfo_ptr info)
{
  // Create and register the request interceptors.
  PortableInterceptor::ServerRequestInterceptor_var si =
    new ServerInterceptor();
  info->add_server_request_interceptor (si.in());
}