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
18 Gateway_ObjRef_Factory (
19 Gateway::Object_Factory_ptr gateway_object_factory
,
20 PortableInterceptor::ObjectReferenceFactory
*old_factory
);
22 virtual ::CORBA::ValueBase
*_copy_value (void);
24 virtual CORBA::Object_ptr
make_object (
25 const char *repository_id
,
26 const PortableInterceptor::ObjectId
&id
);
29 Gateway::Object_Factory_var gateway_object_factory_
;
31 PortableInterceptor::ObjectReferenceFactory_var old_factory_
;
34 #endif /* GATEWAY_OBJREF_FACTORY_H */