1 #include "ObjectReferenceFactory.h"
4 ObjectReferenceFactory::ObjectReferenceFactory (
5 PortableInterceptor::ObjectReferenceFactory
* old_orf
)
8 // Claim ownership of the old ObjectReferenceFactory.
9 CORBA::add_ref (old_orf
);
13 ObjectReferenceFactory::_copy_value (void)
15 ::CORBA::ValueBase
*ret_val
= 0;
18 ObjectReferenceFactory (old_orf_
.inout ()),
24 ObjectReferenceFactory::~ObjectReferenceFactory (void)
26 // No need to call CORBA::remove_ref() on this->old_orf_. It is a
27 // "_var" object, meaning that will be done automatically.
31 ObjectReferenceFactory::make_object (
32 const char *repository_id
,
33 const PortableInterceptor::ObjectId
& id
)
35 ACE_ASSERT (repository_id
!= 0);
38 "Invoked custom ObjectReferenceFactory::make_object()\n"));
40 return this->old_orf_
->make_object (repository_id
,