1 #include "Gateway_ObjRef_Factory.h"
3 Gateway_ObjRef_Factory::
4 Gateway_ObjRef_Factory (
5 Gateway::Object_Factory_ptr gateway_object_factory
,
6 PortableInterceptor::ObjectReferenceFactory
*old_factory
)
7 : gateway_object_factory_ (gateway_object_factory
),
8 old_factory_ (old_factory
)
10 CORBA::add_ref (old_factory
);
14 Gateway_ObjRef_Factory::_copy_value (void)
16 Gateway_ObjRef_Factory
*ret_val
= 0;
19 Gateway_ObjRef_Factory (
20 gateway_object_factory_
.in (),
30 Gateway_ObjRef_Factory::
31 make_object (const char *interface_repository_id
,
32 const PortableInterceptor::ObjectId
& id
)
34 CORBA::Object_var object
=
35 this->old_factory_
->make_object (interface_repository_id
,
38 CORBA::Object_ptr object_ptr
=
39 this->gateway_object_factory_
->create_object (interface_repository_id
,