- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# TAO::Portable_Server::LifespanStrategyFactory Class Reference

`#include <LifespanStrategyFactory.h>`

Inheritance diagram for TAO::Portable_Server::LifespanStrategyFactory:

[legend]
Collaboration diagram for TAO::Portable_Server::LifespanStrategyFactory:

[legend]
List of all members.

## Public Member Functions
virtual LifespanStrategy * | create (::PortableServer::LifespanPolicyValue value)=0
| Create a new servant retention strategy.
virtual void | destroy (LifespanStrategy *strategy)=0
| Cleanup the given strategy instance.

## Member Function Documentation

virtual LifespanStrategy* TAO::Portable_Server::LifespanStrategyFactory::create | ( | ::PortableServer::LifespanPolicyValue | value | ) | `[pure virtual]`

Create a new servant retention strategy.

Implemented in TAO::Portable_Server::LifespanStrategyFactoryImpl, TAO::Portable_Server::LifespanStrategyPersistentFactoryImpl, and TAO::Portable_Server::LifespanStrategyTransientFactoryImpl.

virtual void TAO::Portable_Server::LifespanStrategyFactory::destroy | ( | LifespanStrategy * | strategy | ) | `[pure virtual]`

Cleanup the given strategy instance.

Implemented in TAO::Portable_Server::LifespanStrategyFactoryImpl, TAO::Portable_Server::LifespanStrategyPersistentFactoryImpl, and TAO::Portable_Server::LifespanStrategyTransientFactoryImpl.

The documentation for this class was generated from the following file:

- LifespanStrategyFactory.h