Public Member Functions

TAO::Portable_Server::LifespanStrategyPersistentFactoryImpl Class Reference

#include <LifespanStrategyPersistentFactoryImpl.h>

Inheritance diagram for TAO::Portable_Server::LifespanStrategyPersistentFactoryImpl:
Inheritance graph
[legend]
Collaboration diagram for TAO::Portable_Server::LifespanStrategyPersistentFactoryImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual LifespanStrategycreate (::PortableServer::LifespanPolicyValue value)
 Create a new strategy.
virtual void destroy (LifespanStrategy *strategy)
 Cleanup the given strategy instance.

Detailed Description

Definition at line 32 of file LifespanStrategyPersistentFactoryImpl.h.


Member Function Documentation

LifespanStrategy * TAO::Portable_Server::LifespanStrategyPersistentFactoryImpl::create ( ::PortableServer::LifespanPolicyValue  value  )  [virtual]

Create a new strategy.

Implements TAO::Portable_Server::LifespanStrategyFactory.

Definition at line 6 of file LifespanStrategyPersistentFactoryImpl.cpp.

               : LifespanStrategyPersistentFactoryImpl.cpp 84281 2009-01-30 15:01:17Z wotte $")

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

namespace TAO
{
  namespace Portable_Server
  {
    LifespanStrategy*
    LifespanStrategyPersistentFactoryImpl::create (
      ::PortableServer::LifespanPolicyValue value)
    {
      LifespanStrategy* strategy = 0;

      switch (value)
      {
        case ::PortableServer::PERSISTENT :
        {

void TAO::Portable_Server::LifespanStrategyPersistentFactoryImpl::destroy ( LifespanStrategy strategy  )  [virtual]

Cleanup the given strategy instance.

Implements TAO::Portable_Server::LifespanStrategyFactory.

Definition at line 29 of file LifespanStrategyPersistentFactoryImpl.cpp.

                                     :
        {
          ACE_ERROR ((LM_ERROR, "Incorrect type in LifespanStrategyPersistentFactoryImpl"));
          break;
        }


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines