#include <Active_Policy_Strategies.h>
Collaboration diagram for TAO::Portable_Server::Active_Policy_Strategies:
Definition at line 52 of file Active_Policy_Strategies.h.
TAO::Portable_Server::Active_Policy_Strategies::Active_Policy_Strategies | ( | void | ) |
Definition at line 47 of file Active_Policy_Strategies.cpp.
00048 : thread_strategy_ (0), 00049 request_processing_strategy_ (0), 00050 id_assignment_strategy_ (0), 00051 lifespan_strategy_ (0), 00052 id_uniqueness_strategy_ (0), 00053 implicit_activation_strategy_ (0), 00054 servant_retention_strategy_ (0), 00055 thread_strategy_factory_ (0), 00056 servant_retention_strategy_factory_ (0), 00057 request_processing_strategy_factory_ (0), 00058 lifespan_strategy_factory_ (0), 00059 implicit_activation_strategy_factory_ (0), 00060 id_uniqueness_strategy_factory_ (0), 00061 id_assignment_strategy_factory_ (0) 00062 { 00063 }
void TAO::Portable_Server::Active_Policy_Strategies::cleanup | ( | void | ) |
Definition at line 171 of file Active_Policy_Strategies.cpp.
References TAO::Portable_Server::IdAssignmentStrategyFactory::destroy(), TAO::Portable_Server::ServantRetentionStrategyFactory::destroy(), TAO::Portable_Server::ThreadStrategyFactory::destroy(), TAO::Portable_Server::ImplicitActivationStrategyFactory::destroy(), TAO::Portable_Server::IdUniquenessStrategyFactory::destroy(), TAO::Portable_Server::RequestProcessingStrategyFactory::destroy(), TAO::Portable_Server::LifespanStrategyFactory::destroy(), id_assignment_strategy_, id_assignment_strategy_factory_, id_uniqueness_strategy_, id_uniqueness_strategy_factory_, implicit_activation_strategy_, implicit_activation_strategy_factory_, lifespan_strategy_, lifespan_strategy_factory_, request_processing_strategy_, request_processing_strategy_factory_, servant_retention_strategy_, servant_retention_strategy_factory_, thread_strategy_, and thread_strategy_factory_.
Referenced by TAO_Root_POA::complete_destruction_i().
00172 { 00173 00174 if (this->lifespan_strategy_ != 0) 00175 { 00176 this->lifespan_strategy_factory_->destroy (lifespan_strategy_); 00177 00178 this->lifespan_strategy_ = 0; 00179 } 00180 00181 if (this->request_processing_strategy_ != 0) 00182 { 00183 this->request_processing_strategy_factory_->destroy (request_processing_strategy_); 00184 00185 this->request_processing_strategy_ = 0; 00186 } 00187 00188 if (this->id_uniqueness_strategy_ != 0) 00189 { 00190 this->id_uniqueness_strategy_factory_->destroy (id_uniqueness_strategy_); 00191 00192 this->id_uniqueness_strategy_ = 0; 00193 } 00194 00195 if (this->implicit_activation_strategy_ != 0) 00196 { 00197 this->implicit_activation_strategy_factory_->destroy (implicit_activation_strategy_); 00198 00199 this->implicit_activation_strategy_ = 0; 00200 } 00201 00202 if (this->thread_strategy_ != 0) 00203 { 00204 this->thread_strategy_factory_->destroy (thread_strategy_); 00205 00206 this->thread_strategy_ = 0; 00207 } 00208 00209 if (this->servant_retention_strategy_ != 0) 00210 { 00211 this->servant_retention_strategy_factory_->destroy (servant_retention_strategy_); 00212 00213 this->servant_retention_strategy_ = 0; 00214 } 00215 00216 if (this->id_assignment_strategy_ != 0) 00217 { 00218 this->id_assignment_strategy_factory_->destroy (id_assignment_strategy_); 00219 00220 this->id_assignment_strategy_ = 0; 00221 } 00222 }
ACE_INLINE IdAssignmentStrategy * TAO::Portable_Server::Active_Policy_Strategies::id_assignment_strategy | ( | void | ) | const |
Definition at line 27 of file Active_Policy_Strategies.inl.
References id_assignment_strategy_.
Referenced by TAO_Root_POA::has_system_id(), and TAO_Root_POA::set_id().
00028 { 00029 return this->id_assignment_strategy_; 00030 }
ACE_INLINE IdUniquenessStrategy * TAO::Portable_Server::Active_Policy_Strategies::id_uniqueness_strategy | ( | void | ) | const |
Definition at line 34 of file Active_Policy_Strategies.inl.
References id_uniqueness_strategy_.
Referenced by TAO_Root_POA::allow_multiple_activations(), and TAO_Root_POA::is_servant_activation_allowed().
00035 { 00036 return this->id_uniqueness_strategy_; 00037 }
ACE_INLINE ImplicitActivationStrategy * TAO::Portable_Server::Active_Policy_Strategies::implicit_activation_strategy | ( | void | ) | const |
Definition at line 48 of file Active_Policy_Strategies.inl.
References implicit_activation_strategy_.
Referenced by TAO_Root_POA::allow_implicit_activation().
00049 { 00050 return this->implicit_activation_strategy_; 00051 }
ACE_INLINE LifespanStrategy * TAO::Portable_Server::Active_Policy_Strategies::lifespan_strategy | ( | void | ) | const |
Definition at line 41 of file Active_Policy_Strategies.inl.
References lifespan_strategy_.
Referenced by TAO_Root_POA::check_state(), TAO_Root_POA::destroy_i(), TAO_Root_POA::is_persistent(), TAO_Root_POA::set_id(), TAO_Root_POA::TAO_Root_POA(), and TAO_Root_POA::validate_lifespan().
00042 { 00043 return this->lifespan_strategy_; 00044 }
ACE_INLINE RequestProcessingStrategy * TAO::Portable_Server::Active_Policy_Strategies::request_processing_strategy | ( | void | ) | const |
Definition at line 20 of file Active_Policy_Strategies.inl.
References request_processing_strategy_.
Referenced by TAO_Root_POA::cleanup_servant(), TAO_Root_POA::deactivate_all_objects_i(), TAO_Root_POA::get_servant_i(), TAO_Root_POA::get_servant_manager(), TAO_Root_POA::id_to_servant_i(), TAO_Root_POA::locate_servant_i(), TAO_Root_POA::post_invoke_servant_cleanup(), TAO_Root_POA::reference_to_servant_i(), TAO_Root_POA::servant_to_id_i(), TAO_Root_POA::set_servant(), and TAO_Root_POA::set_servant_manager().
00021 { 00022 return this->request_processing_strategy_; 00023 }
ACE_INLINE ServantRetentionStrategy * TAO::Portable_Server::Active_Policy_Strategies::servant_retention_strategy | ( | void | ) | const |
Definition at line 55 of file Active_Policy_Strategies.inl.
References servant_retention_strategy_.
Referenced by TAO_Root_POA::activate_object_i(), TAO_Root_POA::activate_object_with_id_i(), TAO_Root_POA::create_reference_i(), TAO_Root_POA::create_reference_with_id_i(), TAO_Root_POA::deactivate_all_objects_i(), TAO_Root_POA::deactivate_object_i(), TAO_Root_POA::find_servant(), TAO_Root_POA::find_servant_priority(), TAO_Root_POA::id_to_reference_i(), TAO_Root_POA::is_servant_active(), TAO_Root_POA::rebind_using_user_id_and_system_id(), TAO_Root_POA::reference_to_id(), TAO_Root_POA::servant_has_remaining_activations(), TAO_Root_POA::servant_present(), TAO_Root_POA::servant_to_reference_i(), TAO_Root_POA::servant_to_user_id(), TAO_Root_POA::unbind_using_user_id(), TAO_Root_POA::user_id_to_servant_i(), and TAO_Root_POA::waiting_servant_deactivation().
00056 { 00057 return this->servant_retention_strategy_; 00058 }
ACE_INLINE ThreadStrategy * TAO::Portable_Server::Active_Policy_Strategies::thread_strategy | ( | void | ) | const |
Definition at line 13 of file Active_Policy_Strategies.inl.
References thread_strategy_.
Referenced by TAO_Root_POA::enter(), and TAO_Root_POA::exit().
00014 { 00015 return this->thread_strategy_; 00016 }
void TAO::Portable_Server::Active_Policy_Strategies::update | ( | Cached_Policies & | policies, | |
TAO_Root_POA * | poa | |||
) |
Referenced by TAO_Root_POA::TAO_Root_POA().
IdAssignmentStrategy* TAO::Portable_Server::Active_Policy_Strategies::id_assignment_strategy_ [private] |
Definition at line 80 of file Active_Policy_Strategies.h.
Referenced by cleanup(), and id_assignment_strategy().
IdUniquenessStrategy* TAO::Portable_Server::Active_Policy_Strategies::id_uniqueness_strategy_ [private] |
Definition at line 82 of file Active_Policy_Strategies.h.
Referenced by cleanup(), and id_uniqueness_strategy().
ImplicitActivationStrategy* TAO::Portable_Server::Active_Policy_Strategies::implicit_activation_strategy_ [private] |
Definition at line 83 of file Active_Policy_Strategies.h.
Referenced by cleanup(), and implicit_activation_strategy().
Definition at line 81 of file Active_Policy_Strategies.h.
Referenced by cleanup(), and lifespan_strategy().
RequestProcessingStrategy* TAO::Portable_Server::Active_Policy_Strategies::request_processing_strategy_ [private] |
Definition at line 79 of file Active_Policy_Strategies.h.
Referenced by cleanup(), and request_processing_strategy().
ServantRetentionStrategy* TAO::Portable_Server::Active_Policy_Strategies::servant_retention_strategy_ [private] |
Definition at line 84 of file Active_Policy_Strategies.h.
Referenced by cleanup(), and servant_retention_strategy().
Definition at line 78 of file Active_Policy_Strategies.h.
Referenced by cleanup(), and thread_strategy().