Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / PortableServer / RequestProcessingPolicy.cpp
bloba180a70a1c668e31549aec6d475de3727ff98820
1 // -*- C++ -*-
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
11 namespace TAO
13 namespace Portable_Server
15 RequestProcessingPolicy::RequestProcessingPolicy (
16 ::PortableServer::RequestProcessingPolicyValue value) :
17 value_ (value)
21 CORBA::Policy_ptr
22 RequestProcessingPolicy::copy ()
24 RequestProcessingPolicy *copy = 0;
25 ACE_NEW_THROW_EX (copy,
26 RequestProcessingPolicy (this->value_),
27 CORBA::NO_MEMORY ());
29 return copy;
32 void
33 RequestProcessingPolicy::destroy ()
37 ::PortableServer::RequestProcessingPolicyValue
38 RequestProcessingPolicy::value ()
40 return value_;
43 CORBA::PolicyType
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;
55 TAO_Policy_Scope
56 RequestProcessingPolicy::_tao_scope () const
58 return TAO_POLICY_POA_SCOPE;
65 TAO_END_VERSIONED_NAMESPACE_DECL
67 #endif /* TAO_HAS_MINIMUM_POA == 0 */