00001 // $Id: Default_Collocation_Resolver.cpp 84281 2009-01-30 15:01:17Z wotte $ 00002 00003 #include "tao/Default_Collocation_Resolver.h" 00004 00005 ACE_RCSID (tao, 00006 Default_Collocation_Resolver, 00007 "$Id: Default_Collocation_Resolver.cpp 84281 2009-01-30 15:01:17Z wotte $") 00008 00009 #include "tao/Object.h" 00010 #include "ace/Log_Msg.h" 00011 00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00013 00014 CORBA::Boolean 00015 TAO_Default_Collocation_Resolver::is_collocated (CORBA::Object_ptr object) const 00016 { 00017 return object->_is_collocated (); 00018 } 00019 00020 ACE_STATIC_SVC_DEFINE (TAO_Default_Collocation_Resolver, 00021 ACE_TEXT ("Default_Collocation_Resolver"), 00022 ACE_SVC_OBJ_T, 00023 &ACE_SVC_NAME (TAO_Default_Collocation_Resolver), 00024 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, 00025 0) 00026 ACE_FACTORY_DEFINE (TAO, TAO_Default_Collocation_Resolver) 00027 00028 TAO_END_VERSIONED_NAMESPACE_DECL 00029