RequestProcessingStrategyServantLocatorFI.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file RequestProcessingStrategyServantLocatorFI.h
00006  *
00007  *  $Id: RequestProcessingStrategyServantLocatorFI.h 76898 2007-02-04 18:58:07Z johnnyw $
00008  *
00009  *  @author  Johnny Willemsen  <jwillemsen@remedy.nl>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYSERVANTLOCATORFACTORYIMPL_H
00014 #define TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYSERVANTLOCATORFACTORYIMPL_H
00015 #include /**/ "ace/pre.h"
00016 
00017 #include "tao/PortableServer/portableserver_export.h"
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 #include "ace/Service_Config.h"
00024 #include "tao/PortableServer/RequestProcessingStrategyFactory.h"
00025 
00026 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
00027 
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029 
00030 namespace TAO
00031 {
00032   namespace Portable_Server
00033   {
00034     class TAO_PortableServer_Export RequestProcessingStrategyServantLocatorFactoryImpl
00035        : public RequestProcessingStrategyFactory
00036     {
00037     public:
00038       /// Create a new servant retention strategy
00039       virtual RequestProcessingStrategy* create (
00040         ::PortableServer::RequestProcessingPolicyValue value,
00041         ::PortableServer::ServantRetentionPolicyValue srvalue);
00042 
00043       virtual void destroy (RequestProcessingStrategy *strategy);
00044     };
00045   }
00046 }
00047 
00048 TAO_END_VERSIONED_NAMESPACE_DECL
00049 
00050 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer, RequestProcessingStrategyServantLocatorFactoryImpl)
00051 ACE_FACTORY_DECLARE (TAO_PortableServer, RequestProcessingStrategyServantLocatorFactoryImpl)
00052 
00053 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00054 
00055 #include /**/ "ace/post.h"
00056 #endif /* TAO_PORTABLESERVER_REQUESTPROCESSINGSTRATEGYSERVANTLOCATORFACTORYIMPL_H */

Generated on Tue Feb 2 17:40:54 2010 for TAO_PortableServer by  doxygen 1.4.7