diff options
Diffstat (limited to 'CIAO/ciao/Context_Impl_T.cpp')
-rw-r--r-- | CIAO/ciao/Context_Impl_T.cpp | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/CIAO/ciao/Context_Impl_T.cpp b/CIAO/ciao/Context_Impl_T.cpp deleted file mode 100644 index 29558dafb0b..00000000000 --- a/CIAO/ciao/Context_Impl_T.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// $Id$ - -#ifndef CIAO_CONTEXT_IMPL_T_C -#define CIAO_CONTEXT_IMPL_T_C - -#include "Context_Impl_T.h" - -namespace CIAO -{ - template <typename BASE_CTX, - typename SVNT, - typename COMP> - Context_Impl<BASE_CTX, SVNT, COMP>::Context_Impl ( - Components::CCMHome_ptr the_home, - Session_Container *c, - SVNT *sv) - : Context_Impl_Base (the_home, c), - servant_ (sv) - { - } - - template <typename BASE_CTX, - typename SVNT, - typename COMP> - Context_Impl<BASE_CTX, SVNT, COMP>::~Context_Impl (void) - { - } - - // Operations from ::Components::SessionContext. - - template <typename BASE_CTX, - typename SVNT, - typename COMP> - CORBA::Object_ptr - Context_Impl<BASE_CTX, SVNT, COMP>::get_CCM_object (void) - { - if (CORBA::is_nil (this->component_.in ())) - { - CORBA::Object_var obj; - - try - { - obj = this->container_->get_objref (this->servant_); - } - catch (const CORBA::Exception& ex) - { - ex._tao_print_exception ("Caught Exception \n"); - return CORBA::Object::_nil (); - } - - this->component_ = COMP::_narrow (obj.in ()); - - if (CORBA::is_nil (this->component_.in ())) - { - throw CORBA::INTERNAL (); - } - } - - return COMP::_duplicate (this->component_.in ()); - } -} - -#endif /* CIAO_CONTEXT_IMPL_T_C */ |