1 #include "tao/PortableServer/ImplicitActivationPolicy.h"
2 #include "tao/PortableServer/PortableServer.h"
3 #include "ace/CORBA_macros.h"
5 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
7 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
11 namespace Portable_Server
13 ImplicitActivationPolicy::ImplicitActivationPolicy (
14 ::PortableServer::ImplicitActivationPolicyValue value
) :
20 ImplicitActivationPolicy::copy ()
22 ImplicitActivationPolicy
*copy
= 0;
23 ACE_NEW_THROW_EX (copy
,
24 ImplicitActivationPolicy (this->value_
),
31 ImplicitActivationPolicy::destroy ()
35 ::PortableServer::ImplicitActivationPolicyValue
36 ImplicitActivationPolicy::value ()
42 ImplicitActivationPolicy::policy_type ()
44 return ::PortableServer::IMPLICIT_ACTIVATION_POLICY_ID
;
47 TAO_Cached_Policy_Type
48 ImplicitActivationPolicy::_tao_cached_type () const
50 return TAO_CACHED_POLICY_IMPLICIT_ACTIVATION
;
54 ImplicitActivationPolicy::_tao_scope () const
56 return TAO_POLICY_POA_SCOPE
;
61 TAO_END_VERSIONED_NAMESPACE_DECL
63 #endif /* TAO_HAS_MINIMUM_POA == 0 && !CORBA_E_COMPACT && !CORBA_E_MICRO */