PortableServer.cpp

Go to the documentation of this file.
00001 // PortableServer.cpp,v 1.18 2006/06/20 07:14:40 jwillemsen Exp
00002 #include "tao/PortableServer/PortableServer.h"
00003 #include "tao/PortableServer/Object_Adapter.h"
00004 #include "tao/PortableServer/Object_Adapter_Factory.h"
00005 #include "tao/PortableServer/POA_Current_Factory.h"
00006 
00007 #include "tao/PortableServer/ThreadStrategyFactoryImpl.h"
00008 #include "tao/PortableServer/LifespanStrategyFactoryImpl.h"
00009 #include "tao/PortableServer/IdAssignmentStrategyFactoryImpl.h"
00010 #include "tao/PortableServer/IdUniquenessStrategyFactoryImpl.h"
00011 #include "tao/PortableServer/ImplicitActivationStrategyFactoryImpl.h"
00012 #include "tao/PortableServer/RequestProcessingStrategyFactoryImpl.h"
00013 #include "tao/PortableServer/ServantRetentionStrategyFactoryImpl.h"
00014 
00015 #include "tao/PortableServer/ThreadStrategyORBControl.h"
00016 #include "tao/PortableServer/ThreadStrategySingle.h"
00017 #include "tao/PortableServer/ThreadStrategySingleFactoryImpl.h"
00018 
00019 #include "tao/PortableServer/IdAssignmentStrategySystem.h"
00020 #include "tao/PortableServer/IdAssignmentStrategyUser.h"
00021 
00022 #include "tao/PortableServer/IdUniquenessStrategyMultiple.h"
00023 #include "tao/PortableServer/IdUniquenessStrategyUnique.h"
00024 
00025 #include "tao/PortableServer/ImplicitActivationStrategyExplicit.h"
00026 #include "tao/PortableServer/ImplicitActivationStrategyImplicit.h"
00027 
00028 #include "tao/PortableServer/RequestProcessingStrategyAOMOnly.h"
00029 #include "tao/PortableServer/RequestProcessingStrategyDefaultServant.h"
00030 #include "tao/PortableServer/RequestProcessingStrategyServantManager.h"
00031 
00032 #include "tao/PortableServer/ServantRetentionStrategyNonRetainFactoryImpl.h"
00033 #include "tao/PortableServer/ServantRetentionStrategyRetainFactoryImpl.h"
00034 
00035 #include "tao/PortableServer/RequestProcessingStrategyDefaultServantFI.h"
00036 #include "tao/PortableServer/RequestProcessingStrategyAOMOnlyFactoryImpl.h"
00037 #include "tao/PortableServer/RequestProcessingStrategyServantActivatorFI.h"
00038 #include "tao/PortableServer/RequestProcessingStrategyServantLocatorFI.h"
00039 
00040 #include "tao/PortableServer/IdUniquenessStrategyUniqueFactoryImpl.h"
00041 
00042 #include "tao/PortableServer/LifespanStrategyPersistentFactoryImpl.h"
00043 #include "tao/PortableServer/LifespanStrategyTransientFactoryImpl.h"
00044 
00045 ACE_RCSID (PortableServer,
00046            PortableServer,
00047            "PortableServer.cpp,v 1.18 2006/06/20 07:14:40 jwillemsen Exp")
00048 
00049 
00050 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00051 
00052 int
00053 TAO_POA_Initializer::init (void)
00054 {
00055   ACE_Service_Config::process_directive (
00056       ace_svc_desc_IdAssignmentStrategySystem
00057     );
00058 
00059   ACE_Service_Config::process_directive (
00060       ace_svc_desc_IdAssignmentStrategyUser
00061     );
00062 
00063   ACE_Service_Config::process_directive (
00064       ace_svc_desc_IdUniquenessStrategyMultiple
00065     );
00066 
00067   ACE_Service_Config::process_directive (
00068       ace_svc_desc_IdUniquenessStrategyUnique
00069     );
00070 
00071   ACE_Service_Config::process_directive (
00072       ace_svc_desc_IdUniquenessStrategyUniqueFactoryImpl
00073     );
00074 
00075   ACE_Service_Config::process_directive (
00076       ace_svc_desc_ImplicitActivationStrategyExplicit
00077     );
00078 
00079   ACE_Service_Config::process_directive (
00080       ace_svc_desc_ImplicitActivationStrategyImplicit
00081     );
00082 
00083   // Strategy factories
00084 
00085   ACE_Service_Config::process_directive (
00086       ace_svc_desc_ThreadStrategyFactoryImpl
00087     );
00088 
00089 #if (TAO_HAS_MINIMUM_POA == 0)
00090   ACE_Service_Config::process_directive (
00091       ace_svc_desc_ThreadStrategySingleFactoryImpl
00092     );
00093 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00094 
00095   ACE_Service_Config::process_directive (
00096       ace_svc_desc_LifespanStrategyFactoryImpl
00097     );
00098 
00099   ACE_Service_Config::process_directive (
00100       ace_svc_desc_LifespanStrategyPersistentFactoryImpl
00101     );
00102 
00103   ACE_Service_Config::process_directive (
00104       ace_svc_desc_LifespanStrategyTransientFactoryImpl
00105     );
00106 
00107   ACE_Service_Config::process_directive (
00108       ace_svc_desc_IdAssignmentStrategyFactoryImpl
00109     );
00110 
00111   ACE_Service_Config::process_directive (
00112       ace_svc_desc_IdUniquenessStrategyFactoryImpl
00113     );
00114 
00115   ACE_Service_Config::process_directive (
00116       ace_svc_desc_ImplicitActivationStrategyFactoryImpl
00117     );
00118 
00119   ACE_Service_Config::process_directive (
00120       ace_svc_desc_RequestProcessingStrategyFactoryImpl
00121     );
00122 
00123   ACE_Service_Config::process_directive (
00124       ace_svc_desc_RequestProcessingStrategyAOMOnlyFactoryImpl
00125     );
00126 
00127 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
00128   ACE_Service_Config::process_directive (
00129       ace_svc_desc_RequestProcessingStrategyDefaultServantFactoryImpl
00130     );
00131 
00132   ACE_Service_Config::process_directive (
00133       ace_svc_desc_RequestProcessingStrategyServantActivatorFactoryImpl
00134     );
00135 
00136   ACE_Service_Config::process_directive (
00137       ace_svc_desc_RequestProcessingStrategyServantLocatorFactoryImpl
00138     );
00139 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00140 
00141   ACE_Service_Config::process_directive (
00142       ace_svc_desc_ServantRetentionStrategyFactoryImpl
00143     );
00144 
00145   ACE_Service_Config::process_directive (
00146       ace_svc_desc_ServantRetentionStrategyRetainFactoryImpl
00147     );
00148 
00149 #if (TAO_HAS_MINIMUM_POA == 0)
00150   ACE_Service_Config::process_directive (
00151       ace_svc_desc_ServantRetentionStrategyNonRetainFactoryImpl
00152     );
00153 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00154 
00155   // Strategy implementations
00156 
00157   ACE_Service_Config::process_directive (
00158       ace_svc_desc_ThreadStrategyORBControl
00159     );
00160 
00161 #if (TAO_HAS_MINIMUM_POA == 0)
00162   ACE_Service_Config::process_directive (
00163       ace_svc_desc_ThreadStrategySingle
00164     );
00165 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00166 
00167   ACE_Service_Config::process_directive (
00168       ace_svc_desc_TAO_POA_Current_Factory
00169     );
00170 
00171   return
00172     ACE_Service_Config::process_directive (
00173         ace_svc_desc_TAO_Object_Adapter_Factory
00174       );
00175 }
00176 
00177 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 12:40:40 2006 for TAO_PortableServer by doxygen 1.3.6