#include <ServantRetentionPolicy.h>
Inheritance diagram for TAO::Portable_Server::ServantRetentionPolicy:
Public Member Functions | |
ServantRetentionPolicy (::PortableServer::ServantRetentionPolicyValue value) | |
CORBA::Policy_ptr | copy (void) |
void | destroy (void) |
::PortableServer::ServantRetentionPolicyValue | value (void) |
CORBA::PolicyType | policy_type (void) |
TAO_Cached_Policy_Type | _tao_cached_type (void) const |
Return the cached policy type for this policy. | |
TAO_Policy_Scope | _tao_scope (void) const |
Returns the scope at which this policy can be applied. See orbconf.h. | |
Private Attributes | |
::PortableServer::ServantRetentionPolicyValue | value_ |
|
Definition at line 19 of file ServantRetentionPolicy.cpp.
00020 : 00021 value_ (value) 00022 { 00023 } |
|
Return the cached policy type for this policy.
Implements CORBA::Policy. Definition at line 54 of file ServantRetentionPolicy.cpp. References TAO_CACHED_POLICY_SERVANT_RETENTION.
00055 { 00056 return TAO_CACHED_POLICY_SERVANT_RETENTION; 00057 } |
|
Returns the scope at which this policy can be applied. See orbconf.h.
Implements CORBA::Policy. Definition at line 60 of file ServantRetentionPolicy.cpp. References TAO_POLICY_POA_SCOPE.
00061 { 00062 return TAO_POLICY_POA_SCOPE; 00063 } |
|
Implements CORBA::Policy. Definition at line 26 of file ServantRetentionPolicy.cpp. References ACE_NEW_THROW_EX.
00027 { 00028 ServantRetentionPolicy *copy = 0; 00029 ACE_NEW_THROW_EX (copy, 00030 ServantRetentionPolicy (this->value_), 00031 CORBA::NO_MEMORY ()); 00032 00033 return copy; 00034 } |
|
Implements CORBA::Policy. Definition at line 37 of file ServantRetentionPolicy.cpp.
00038 { 00039 } |
|
Implements CORBA::Policy. Definition at line 48 of file ServantRetentionPolicy.cpp.
00049 { 00050 return ::PortableServer::SERVANT_RETENTION_POLICY_ID; 00051 } |
|
Definition at line 42 of file ServantRetentionPolicy.cpp.
00043 { 00044 return this->value_; 00045 } |
|
Definition at line 63 of file ServantRetentionPolicy.h. |