blob: d2ea1ee9948c0f6ce5af7859d1f21e57cd9cbf0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
// -*- C++ -*-
//=============================================================================
/**
* @file ExtensionContext.h
*
* $Id$
*
* @author Johnny Willemsen <jwillemsen@remedy.nl>
*/
//=============================================================================
#ifndef CIAO_EXTENSIONCONTEXT_H
#define CIAO_EXTENSIONCONTEXT_H
#include /**/ "ace/pre.h"
#include "CIAO_Server_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ciao/CCM_ExtensionContextC.h"
#include "ciao/Context_Impl_Base.h"
#include "tao/Objref_VarOut_T.h"
namespace Components
{
class CCMHome;
typedef CCMHome *CCMHome_ptr;
typedef
TAO_Objref_Var_T<
CCMHome
>
CCMHome_var;
}
namespace CIAO
{
class CIAO_SERVER_Export ExtensionContext_Impl
: public virtual Components::ExtensionContext,
public virtual CIAO::Context_Impl_Base
{
public:
ExtensionContext_Impl(Components::CCMHome_ptr home, Session_Container * c);
virtual ~ExtensionContext_Impl (void);
// Operations from ::Components::CCMContext.
virtual Components::Principal_ptr get_caller_principal (void);
virtual Components::CCMHome_ptr get_CCM_home (void);
virtual CORBA::Boolean get_rollback_only (void);
virtual Components::Transaction::UserTransaction_ptr get_user_transaction (void);
virtual CORBA::Boolean is_caller_in_role (const char *role);
virtual void set_rollback_only (void);
virtual CORBA::Object_ptr resolve_service_reference(const char *service_id);
virtual ::Components::ContainerPortableInterceptor::ClientContainerInterceptorRegistration_ptr get_client_interceptor_registration (void);
virtual ::Components::ContainerPortableInterceptor::ServerContainerInterceptorRegistration_ptr get_server_interceptor_registration (void);
virtual ::Components::ContainerPortableInterceptor::StubContainerInterceptorRegistration_ptr get_stub_interceptor_registration (void);
virtual ::Components::ContainerPortableInterceptor::ServantContainerInterceptorRegistration_ptr get_servant_interceptor_registration (void);
virtual ::Components::Cookie * install_service_reference (
const char * service_id,
::CORBA::Object_ptr objref);
virtual ::CORBA::Object_ptr uninstall_service_reference (
::Components::Cookie * ck);
private:
ExtensionContext_Impl (void);
};
}
#include /**/ "ace/post.h"
#endif /* CIAO_CONTEXT_IMPL_BASE_H */
|