summaryrefslogtreecommitdiff
path: root/TAO/CIAO/ciao/Context_Impl_Base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/ciao/Context_Impl_Base.cpp')
-rw-r--r--TAO/CIAO/ciao/Context_Impl_Base.cpp92
1 files changed, 0 insertions, 92 deletions
diff --git a/TAO/CIAO/ciao/Context_Impl_Base.cpp b/TAO/CIAO/ciao/Context_Impl_Base.cpp
deleted file mode 100644
index 71581293d8c..00000000000
--- a/TAO/CIAO/ciao/Context_Impl_Base.cpp
+++ /dev/null
@@ -1,92 +0,0 @@
-// $Id$
-
-#include "Context_Impl_Base.h"
-
-namespace CIAO
-{
- Context_Impl_Base::Context_Impl_Base (void)
- {
- ACE_ASSERT (0);
- }
-
- Context_Impl_Base::Context_Impl_Base (Components::CCMHome_ptr home,
- Session_Container * c)
- : home_ (Components::CCMHome::_duplicate (home)),
- container_ (c)
- {
- }
-
- Context_Impl_Base::~Context_Impl_Base (void)
- {
- }
-
- // Operations from ::Components::CCMContext.
-
- Components::Principal_ptr
- Context_Impl_Base::get_caller_principal (
- ACE_ENV_SINGLE_ARG_DECL
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
- {
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (),
- Components::Principal::_nil ());
- }
-
- Components::CCMHome_ptr
- Context_Impl_Base::get_CCM_home (
- ACE_ENV_SINGLE_ARG_DECL_NOT_USED
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
- {
- return Components::CCMHome::_duplicate (this->home_.in ());
- }
-
- CORBA::Boolean
- Context_Impl_Base::get_rollback_only (
- ACE_ENV_SINGLE_ARG_DECL
- )
- ACE_THROW_SPEC ((CORBA::SystemException,
- Components::IllegalState))
- {
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), false);
- }
-
- Components::Transaction::UserTransaction_ptr
- Context_Impl_Base::get_user_transaction (
- ACE_ENV_SINGLE_ARG_DECL
- )
- ACE_THROW_SPEC ((CORBA::SystemException,
- Components::IllegalState))
- {
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (),
- Components::Transaction::UserTransaction::_nil ());
- }
-
- CORBA::Boolean
- Context_Impl_Base::is_caller_in_role (
- const char * /* role */
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
- {
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), false);
- }
-
- void
- Context_Impl_Base::set_rollback_only (
- ACE_ENV_SINGLE_ARG_DECL
- )
- ACE_THROW_SPEC ((CORBA::SystemException,
- Components::IllegalState))
- {
- ACE_THROW (CORBA::NO_IMPLEMENT ());
- }
-
- // CIAO-specific.
-
- CIAO::Session_Container *
- Context_Impl_Base::_ciao_the_Container (void) const
- {
- return this->container_;
- }
-}