00001 // $Id: ThreadStrategyORBControl.cpp 76551 2007-01-24 13:42:44Z johnnyw $ 00002 00003 #include "tao/PortableServer/ThreadStrategyORBControl.h" 00004 #include "ace/Log_Msg.h" 00005 00006 ACE_RCSID (PortableServer, 00007 ThreadStrategyORBControl, 00008 "$Id: ThreadStrategyORBControl.cpp 76551 2007-01-24 13:42:44Z johnnyw $") 00009 00010 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00011 00012 namespace TAO 00013 { 00014 namespace Portable_Server 00015 { 00016 int 00017 ThreadStrategyORBControl::enter () 00018 { 00019 return 0; 00020 } 00021 00022 int 00023 ThreadStrategyORBControl::exit () 00024 { 00025 return 0; 00026 } 00027 00028 ::PortableServer::ThreadPolicyValue 00029 ThreadStrategyORBControl::type () const 00030 { 00031 return ::PortableServer::ORB_CTRL_MODEL; 00032 } 00033 } 00034 } 00035 00036 TAO_END_VERSIONED_NAMESPACE_DECL 00037 00038 00039 ACE_FACTORY_NAMESPACE_DEFINE ( 00040 ACE_Local_Service, 00041 ThreadStrategyORBControl, 00042 TAO::Portable_Server::ThreadStrategyORBControl) 00043 00044 ACE_STATIC_SVC_DEFINE ( 00045 ThreadStrategyORBControl, 00046 ACE_TEXT ("ThreadStrategyORBControl"), 00047 ACE_SVC_OBJ_T, 00048 &ACE_SVC_NAME (ThreadStrategyORBControl), 00049 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, 00050 0)