blob: a8dc8a9da92a35814f22adea5c316e046c4bea3a (
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
|
// -*- C++ -*-
//=============================================================================
/**
* @file Assembly_Service_Impl.h
*
* $Id$
*
* @author Nanbor Wang <nanbor@cs.wustl.edu>
*/
//=============================================================================
#ifndef CIAO_ASSEMBLY_SERVICE_IMPL_H
#define CIAO_ASSEMBLY_SERVICE_IMPL_H
#include "ace/pre.h"
#include "Assembly_ServiceS.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
namespace CIAO
{
class Assembly_Service_Impl
: public virtual POA_CIAO::Assembly_Service,
public virtual PortableServer::RefCountServantBase
{
public:
/// Constructor
Assembly_Service_Impl (CORBA::ORB_ptr o,
PortableServer::POA_ptr p,
Components::Deployment::AssemblyFactory_ptr f);
/// Destructor
virtual ~Assembly_Service_Impl (void);
/// Get the containing POA. This operation does *not*
/// increase the reference count of the POA.
virtual PortableServer::POA_ptr _default_POA (void);
virtual ::Components::Deployment::AssemblyFactory_ptr
get_assemblyfactory (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
protected:
/// Keep a pointer to the managing ORB serving this servant.
CORBA::ORB_var orb_;
/// Keep a pointer to the managing POA.
PortableServer::POA_var poa_;
/// Cached AssemblyFactory reference.
Components::Deployment::AssemblyFactory_var factory_;
};
}
#include "ace/post.h"
#endif /* CIAO_ASSEMBLY_IMPL_H */
|