summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Context_Impl_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/Context_Impl_T.cpp')
-rw-r--r--CIAO/ciao/Context_Impl_T.cpp79
1 files changed, 0 insertions, 79 deletions
diff --git a/CIAO/ciao/Context_Impl_T.cpp b/CIAO/ciao/Context_Impl_T.cpp
deleted file mode 100644
index 0ef58a1b735..00000000000
--- a/CIAO/ciao/Context_Impl_T.cpp
+++ /dev/null
@@ -1,79 +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,
- typename COMP_VAR>
- Context_Impl<BASE_CTX, SVNT, COMP, COMP_VAR>::Context_Impl (
- Components::CCMHome_ptr home,
- Session_Container *c,
- SVNT *sv)
- : Context_Impl_Base (home, c),
- servant_ (sv)
- {
- }
-
- template <typename BASE_CTX,
- typename SVNT,
- typename COMP,
- typename COMP_VAR>
- Context_Impl<BASE_CTX, SVNT, COMP, COMP_VAR>::~Context_Impl (void)
- {
- }
-
- // Operations from ::Components::SessionContext.
-
- template <typename BASE_CTX,
- typename SVNT,
- typename COMP,
- typename COMP_VAR>
- CORBA::Object_ptr
- Context_Impl<BASE_CTX, SVNT, COMP, COMP_VAR>::get_CCM_object (
- ACE_ENV_SINGLE_ARG_DECL
- )
- ACE_THROW_SPEC ((CORBA::SystemException,
- Components::IllegalState))
- {
- if (CORBA::is_nil (this->component_.in ()))
- {
- CORBA::Object_var obj;
-
- ACE_TRY
- {
- obj =
- this->container_->get_objref (this->servant_
- ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
- }
- ACE_CATCHANY
- {
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
- "Caught Exception \n");
- return CORBA::Object::_nil ();
- }
- ACE_ENDTRY;
-
-
- this->component_ = COMP::_narrow (obj.in ()
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (CORBA::Object::_nil ());
-
- if (CORBA::is_nil (this->component_.in ()))
- {
- ACE_THROW_RETURN (CORBA::INTERNAL (),
- CORBA::Object::_nil ());
- }
- }
-
- return COMP::_duplicate (this->component_.in ());
- }
-}
-
-#endif /* CIAO_CONTEXT_IMPL_T_C */