diff options
Diffstat (limited to 'TAO/tao/Default_Collocation_Resolver.cpp')
-rw-r--r-- | TAO/tao/Default_Collocation_Resolver.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/TAO/tao/Default_Collocation_Resolver.cpp b/TAO/tao/Default_Collocation_Resolver.cpp new file mode 100644 index 00000000000..95a6a21c2b3 --- /dev/null +++ b/TAO/tao/Default_Collocation_Resolver.cpp @@ -0,0 +1,25 @@ +// $Id$ + +#include "tao/Default_Collocation_Resolver.h" + +ACE_RCSID(tao, Default_Collocation_Resolver, "$Id$") + +#include "tao/Object.h" + +#if !defined (__ACE_INLINE__) +# include "tao/Default_Collocation_Resolver.i" +#endif /* ! __ACE_INLINE__ */ + +CORBA::Boolean +TAO_Default_Collocation_Resolver::is_collocated (CORBA::Object_ptr object) const +{ + return object->_is_collocated (); +} + +ACE_STATIC_SVC_DEFINE (TAO_Default_Collocation_Resolver, + ACE_TEXT ("Default_Collocation_Resolver"), + ACE_SVC_OBJ_T, + &ACE_SVC_NAME (TAO_Default_Collocation_Resolver), + ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, + 0) +ACE_FACTORY_DEFINE (TAO, TAO_Default_Collocation_Resolver) |