Public Member Functions

TAO_Strategies_ORBInitializer Class Reference

#include <Strategies_ORBInitializer.h>

Inheritance diagram for TAO_Strategies_ORBInitializer:
Inheritance graph
[legend]
Collaboration diagram for TAO_Strategies_ORBInitializer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info)
virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info)

Detailed Description

Definition at line 39 of file Strategies_ORBInitializer.h.


Member Function Documentation

void TAO_Strategies_ORBInitializer::post_init ( PortableInterceptor::ORBInitInfo_ptr  info  )  [virtual]

Definition at line 38 of file Strategies_ORBInitializer.cpp.

{
}

void TAO_Strategies_ORBInitializer::pre_init ( PortableInterceptor::ORBInitInfo_ptr  info  )  [virtual]

Definition at line 15 of file Strategies_ORBInitializer.cpp.

{
  // Narrow to a TAO_ORBInitInfo object to get access to the
  // orb_core() TAO extension.
  TAO_ORBInitInfo_var tao_info = TAO_ORBInitInfo::_narrow (info);

  if (CORBA::is_nil (tao_info.in ()))
    {
      if (TAO_debug_level > 0)
        ACE_ERROR ((LM_ERROR,
                    "(%P|%t) TAO_Strategies_ORBInitializer::pre_init:\n"
                    "(%P|%t)    Unable to narrow "
                    "\"PortableInterceptor::ORBInitInfo_ptr\" to\n"
                    "(%P|%t)   \"TAO_ORBInitInfo *.\"\n"));

      throw ::CORBA::INTERNAL ();
    }

  // Make sure we get the correct endpoint selector
  tao_info->orb_core ()->orb_params ()->endpoint_selector_factory_name ("OC_Endpoint_Selector_Factory");
}


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines