#include <LifespanStrategyTransientFactoryImpl.h>


Public Member Functions | |
| virtual LifespanStrategy * | create (::PortableServer::LifespanPolicyValue value) |
| Create a new strategy. | |
| virtual void | destroy (LifespanStrategy *strategy) |
| Cleanup the given strategy instance. | |
Definition at line 33 of file LifespanStrategyTransientFactoryImpl.h.
| LifespanStrategy * TAO::Portable_Server::LifespanStrategyTransientFactoryImpl::create | ( | ::PortableServer::LifespanPolicyValue | value | ) | [virtual] |
Create a new strategy.
Implements TAO::Portable_Server::LifespanStrategyFactory.
Definition at line 6 of file LifespanStrategyTransientFactoryImpl.cpp.
: LifespanStrategyTransientFactoryImpl.cpp 84281 2009-01-30 15:01:17Z wotte $") TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO { namespace Portable_Server { LifespanStrategy* LifespanStrategyTransientFactoryImpl::create ( ::PortableServer::LifespanPolicyValue value) { LifespanStrategy* strategy = 0; switch (value) { case ::PortableServer::PERSISTENT : {
| void TAO::Portable_Server::LifespanStrategyTransientFactoryImpl::destroy | ( | LifespanStrategy * | strategy | ) | [virtual] |
Cleanup the given strategy instance.
Implements TAO::Portable_Server::LifespanStrategyFactory.
Definition at line 29 of file LifespanStrategyTransientFactoryImpl.cpp.
:
{
ACE_NEW_RETURN (strategy, LifespanStrategyTransient, 0);
break;
}
1.7.0