PortableServer_ORBInitializer.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file PortableServer_ORBInitializer.h
00006  *
00007  *  PortableServer_ORBInitializer.h,v 1.3 2005/11/04 09:26:55 ossama Exp
00008  *
00009  *  @author Irfan Pyarali <irfan@oomworks.com>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_PORTABLESERVER_ORB_INITIALIZER_H
00014 #define TAO_PORTABLESERVER_ORB_INITIALIZER_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/PI/PI.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 #include "tao/LocalObject.h"
00025 
00026 
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028 
00029 /// PortableServer ORB initializer.
00030 class TAO_PortableServer_ORBInitializer
00031   : public virtual PortableInterceptor::ORBInitializer,
00032     public virtual TAO_Local_RefCounted_Object
00033 {
00034 public:
00035 
00036   /**
00037    * @name PortableInterceptor::ORBInitializer methods
00038    *
00039    * The following methods are required by the
00040    * PortableInterceptor::ORBInitializer interface.
00041    */
00042   //@{
00043 
00044   void pre_init (PortableInterceptor::ORBInitInfo_ptr info
00045                  ACE_ENV_ARG_DECL)
00046     ACE_THROW_SPEC ((CORBA::SystemException));
00047 
00048   void post_init (PortableInterceptor::ORBInitInfo_ptr info
00049                   ACE_ENV_ARG_DECL)
00050     ACE_THROW_SPEC ((CORBA::SystemException));
00051 
00052   //@}
00053 
00054 private:
00055 
00056   /// Register PortableServer policy factories.
00057   void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info
00058                                   ACE_ENV_ARG_DECL);
00059 };
00060 
00061 TAO_END_VERSIONED_NAMESPACE_DECL
00062 
00063 #include /**/ "ace/post.h"
00064 
00065 #endif /* TAO_PORTABLESERVER_ORB_INITIALIZER_H */

Generated on Thu Nov 9 12:53:59 2006 for TAO_PI_Server by doxygen 1.3.6