2 #ifndef GATEWAY_OBJREF_FACTORY_H
3 #define GATEWAY_OBJREF_FACTORY_H
5 #include "ObjectReferenceFactoryC.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
12 class Gateway_ObjRef_Factory
13 : public CORBA::DefaultValueRefCountBase
,
14 public virtual OBV_ORT::ObjectReferenceFactory
17 Gateway_ObjRef_Factory (
18 Gateway::Object_Factory_ptr gateway_object_factory
,
19 PortableInterceptor::ObjectReferenceFactory
*old_factory
);
21 virtual ::CORBA::ValueBase
*_copy_value ();
23 virtual CORBA::Object_ptr
make_object (
24 const char *repository_id
,
25 const PortableInterceptor::ObjectId
&id
);
28 Gateway::Object_Factory_var gateway_object_factory_
;
30 PortableInterceptor::ObjectReferenceFactory_var old_factory_
;
33 #endif /* GATEWAY_OBJREF_FACTORY_H */