00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef TAO_ORB_INITIALIZER_REGISTRY_ADAPTER_H
00014 #define TAO_ORB_INITIALIZER_REGISTRY_ADAPTER_H
00015
00016 #include "ace/pre.h"
00017
00018 #include "tao/TAO_Export.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif
00023
00024 #include "tao/Basic_Types.h"
00025 #include "ace/Service_Object.h"
00026
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028
00029 class TAO_ORB_Core;
00030
00031 namespace PortableInterceptor
00032 {
00033 class ORBInitializer;
00034 typedef ORBInitializer *ORBInitializer_ptr;
00035
00036 typedef CORBA::ULong SlotId;
00037 }
00038
00039 namespace TAO
00040 {
00041
00042
00043
00044
00045
00046
00047 class TAO_Export ORBInitializer_Registry_Adapter
00048 : public ACE_Service_Object
00049 {
00050 public:
00051 virtual ~ORBInitializer_Registry_Adapter (void);
00052
00053
00054
00055 virtual void register_orb_initializer (
00056 PortableInterceptor::ORBInitializer_ptr init) = 0;
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066 virtual size_t pre_init (
00067 TAO_ORB_Core *orb_core,
00068 int argc,
00069 char *argv[],
00070 PortableInterceptor::SlotId &slotid) = 0;
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084 virtual void post_init (
00085 size_t pre_init_count,
00086 TAO_ORB_Core *orb_core,
00087 int argc,
00088 char *argv[],
00089 PortableInterceptor::SlotId slotid) = 0;
00090 };
00091 }
00092
00093 TAO_END_VERSIONED_NAMESPACE_DECL
00094
00095 #include "ace/post.h"
00096
00097 #endif