summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Servant_Base.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/Servant_Base.i')
-rw-r--r--TAO/tao/PortableServer/Servant_Base.i29
1 files changed, 0 insertions, 29 deletions
diff --git a/TAO/tao/PortableServer/Servant_Base.i b/TAO/tao/PortableServer/Servant_Base.i
index 9283d6c56e6..b48403a8e3c 100644
--- a/TAO/tao/PortableServer/Servant_Base.i
+++ b/TAO/tao/PortableServer/Servant_Base.i
@@ -7,32 +7,3 @@ TAO_Servant_Hash::operator () (PortableServer::Servant servant) const
{
return static_cast<u_long> (reinterpret_cast<ptrdiff_t> (servant));
}
-
-ACE_INLINE TAO_Stub *
-TAO_Local_ServantBase::_create_stub (ACE_ENV_SINGLE_ARG_DECL)
-{
-#if 0
- PortableServer::ObjectId_var invalid_oid =
- PortableServer::string_to_ObjectId ("invalid");
-
- TAO::ObjectKey tmp_key (invalid_oid->length (),
- invalid_oid->length (),
- invalid_oid->get_buffer (),
- 0);
-
- // It is ok to use TAO_ORB_Core_instance here since the locality
- // constrained servant does not really register with a POA or get
- // exported remotely.
- //
- // The correct thing to do is to probably use ORB of the default
- // POA. The unfortunate part is that calling default_POA() requires
- // the creation of a local stub, hence causing a infinite loop.
- return
- TAO_ORB_Core_instance ()->orb ()->create_stub_object (
- tmp_key,
- this->_interface_repository_id ()
- ACE_ENV_ARG_PARAMETER);
-#else
- return 0;
-#endif
-}