2 #include "tao/orbconf.h"
4 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
6 #include "tao/PortableServer/RequestProcessingPolicy.h"
7 #include "tao/PortableServer/PortableServer.h"
9 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
13 namespace Portable_Server
15 RequestProcessingPolicy::RequestProcessingPolicy (
16 ::PortableServer::RequestProcessingPolicyValue value
) :
22 RequestProcessingPolicy::copy ()
24 RequestProcessingPolicy
*copy
= 0;
25 ACE_NEW_THROW_EX (copy
,
26 RequestProcessingPolicy (this->value_
),
33 RequestProcessingPolicy::destroy ()
37 ::PortableServer::RequestProcessingPolicyValue
38 RequestProcessingPolicy::value ()
44 RequestProcessingPolicy::policy_type ()
46 return ::PortableServer::REQUEST_PROCESSING_POLICY_ID
;
49 TAO_Cached_Policy_Type
50 RequestProcessingPolicy::_tao_cached_type () const
52 return TAO_CACHED_POLICY_REQUEST_PROCESSING
;
56 RequestProcessingPolicy::_tao_scope () const
58 return TAO_POLICY_POA_SCOPE
;
65 TAO_END_VERSIONED_NAMESPACE_DECL
67 #endif /* TAO_HAS_MINIMUM_POA == 0 */