it_bus/type_factory_map.h

00001 #ifndef _IT_BUS_TYPE_FACTORY_MAP_H_
00002 #define _IT_BUS_TYPE_FACTORY_MAP_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus/type_factory.h>
00008 
00009 namespace IT_Bus
00010 {
00011     class IT_AFC_API TypeFactoryMap
00012     {
00013       public:
00014 
00015         static TypeFactory*
00016         get_type_factory(
00017             const String & type_factory_name 
00018         );
00019 
00020         static void
00021         register_type_factory(
00022             const String & type_factory_name, 
00023             TypeFactory * factory
00024         );
00025 
00026         static void
00027         deregister_type_factory(
00028             const String & type_factory_name 
00029         );
00030 
00031       protected:
00032         TypeFactoryMap() {}
00033         virtual ~TypeFactoryMap();
00034 
00035       private:
00036         // private and unimplemented to prevent copying
00037         TypeFactoryMap(const TypeFactoryMap&);
00038         void operator=(const TypeFactoryMap&);
00039     };
00040 }
00041 
00042 #endif  

Generated on Tue Mar 20 15:27:44 2007 for Artix by  doxygen 1.5.1-p1