#include <Active_Policy_Strategies.h>
This class stores the active policy strategies used for a certain POA.
Definition at line 52 of file Active_Policy_Strategies.h.
| TAO::Portable_Server::Active_Policy_Strategies::Active_Policy_Strategies | ( | void | ) |
Definition at line 21 of file Active_Policy_Strategies.cpp.
: Active_Policy_Strategies.cpp 80572 2008-02-05 20:02:46Z johnnyw $")
| void TAO::Portable_Server::Active_Policy_Strategies::cleanup | ( | void | ) |
Definition at line 145 of file Active_Policy_Strategies.cpp.
{
this->id_uniqueness_strategy_->strategy_init (poa);
}
if (this->implicit_activation_strategy_ != 0)
{
this->implicit_activation_strategy_->strategy_init (poa);
}
if (this->thread_strategy_ != 0)
{
this->thread_strategy_->strategy_init (poa);
}
if (this->servant_retention_strategy_ != 0)
{
this->servant_retention_strategy_->strategy_init (poa);
}
if (this->id_assignment_strategy_ != 0)
{
this->id_assignment_strategy_->strategy_init (poa);
}
}
void
Active_Policy_Strategies::cleanup (void)
{
if (this->lifespan_strategy_ != 0)
{
this->lifespan_strategy_factory_->destroy (lifespan_strategy_);
this->lifespan_strategy_ = 0;
}
if (this->request_processing_strategy_ != 0)
{
this->request_processing_strategy_factory_->destroy (request_processing_strategy_);
this->request_processing_strategy_ = 0;
}
if (this->id_uniqueness_strategy_ != 0)
{
this->id_uniqueness_strategy_factory_->destroy (id_uniqueness_strategy_);
this->id_uniqueness_strategy_ = 0;
}
if (this->implicit_activation_strategy_ != 0)
{
| IdAssignmentStrategy * TAO::Portable_Server::Active_Policy_Strategies::id_assignment_strategy | ( | void | ) | const |
Definition at line 27 of file Active_Policy_Strategies.inl.
{
return this->id_assignment_strategy_;
}
| IdUniquenessStrategy * TAO::Portable_Server::Active_Policy_Strategies::id_uniqueness_strategy | ( | void | ) | const |
Definition at line 34 of file Active_Policy_Strategies.inl.
{
return this->id_uniqueness_strategy_;
}
| ImplicitActivationStrategy * TAO::Portable_Server::Active_Policy_Strategies::implicit_activation_strategy | ( | void | ) | const |
Definition at line 48 of file Active_Policy_Strategies.inl.
{
return this->implicit_activation_strategy_;
}
| LifespanStrategy * TAO::Portable_Server::Active_Policy_Strategies::lifespan_strategy | ( | void | ) | const |
Definition at line 41 of file Active_Policy_Strategies.inl.
{
return this->lifespan_strategy_;
}
| RequestProcessingStrategy * TAO::Portable_Server::Active_Policy_Strategies::request_processing_strategy | ( | void | ) | const |
Definition at line 20 of file Active_Policy_Strategies.inl.
{
return this->request_processing_strategy_;
}
| ServantRetentionStrategy * TAO::Portable_Server::Active_Policy_Strategies::servant_retention_strategy | ( | void | ) | const |
Definition at line 55 of file Active_Policy_Strategies.inl.
{
return this->servant_retention_strategy_;
}
| ThreadStrategy * TAO::Portable_Server::Active_Policy_Strategies::thread_strategy | ( | void | ) | const |
Definition at line 13 of file Active_Policy_Strategies.inl.
{
return this->thread_strategy_;
}
| void TAO::Portable_Server::Active_Policy_Strategies::update | ( | Cached_Policies & | policies, | |
| TAO_Root_POA * | poa | |||
| ) |
IdAssignmentStrategy* TAO::Portable_Server::Active_Policy_Strategies::id_assignment_strategy_ [private] |
Definition at line 80 of file Active_Policy_Strategies.h.
IdAssignmentStrategyFactory* TAO::Portable_Server::Active_Policy_Strategies::id_assignment_strategy_factory_ [private] |
Definition at line 92 of file Active_Policy_Strategies.h.
IdUniquenessStrategy* TAO::Portable_Server::Active_Policy_Strategies::id_uniqueness_strategy_ [private] |
Definition at line 82 of file Active_Policy_Strategies.h.
IdUniquenessStrategyFactory* TAO::Portable_Server::Active_Policy_Strategies::id_uniqueness_strategy_factory_ [private] |
Definition at line 91 of file Active_Policy_Strategies.h.
ImplicitActivationStrategy* TAO::Portable_Server::Active_Policy_Strategies::implicit_activation_strategy_ [private] |
Definition at line 83 of file Active_Policy_Strategies.h.
ImplicitActivationStrategyFactory* TAO::Portable_Server::Active_Policy_Strategies::implicit_activation_strategy_factory_ [private] |
Definition at line 90 of file Active_Policy_Strategies.h.
LifespanStrategy* TAO::Portable_Server::Active_Policy_Strategies::lifespan_strategy_ [private] |
Definition at line 81 of file Active_Policy_Strategies.h.
LifespanStrategyFactory* TAO::Portable_Server::Active_Policy_Strategies::lifespan_strategy_factory_ [private] |
Definition at line 89 of file Active_Policy_Strategies.h.
RequestProcessingStrategy* TAO::Portable_Server::Active_Policy_Strategies::request_processing_strategy_ [private] |
Definition at line 79 of file Active_Policy_Strategies.h.
RequestProcessingStrategyFactory* TAO::Portable_Server::Active_Policy_Strategies::request_processing_strategy_factory_ [private] |
Definition at line 88 of file Active_Policy_Strategies.h.
ServantRetentionStrategy* TAO::Portable_Server::Active_Policy_Strategies::servant_retention_strategy_ [private] |
Definition at line 84 of file Active_Policy_Strategies.h.
ServantRetentionStrategyFactory* TAO::Portable_Server::Active_Policy_Strategies::servant_retention_strategy_factory_ [private] |
Definition at line 87 of file Active_Policy_Strategies.h.
ThreadStrategy* TAO::Portable_Server::Active_Policy_Strategies::thread_strategy_ [private] |
Definition at line 78 of file Active_Policy_Strategies.h.
ThreadStrategyFactory* TAO::Portable_Server::Active_Policy_Strategies::thread_strategy_factory_ [private] |
Definition at line 86 of file Active_Policy_Strategies.h.
1.7.0