Method: R2CORBA::CORBA::Object#_repository_id

Defined in:
lib/corba/jbase/Object.rb,
lib/corba/common/Object.rb

#_repository_idObject

ret ::String

Raises:

  • (CORBA::INV_OBJREF)


38
39
40
41
42
43
44
45
46
47
48
# File 'lib/corba/jbase/Object.rb', line 38

def _repository_id
  raise CORBA::INV_OBJREF.new if self._is_nil?
  ## if this object ref has already been narrowed
  return self._interface_repository_id if self.respond_to?(:_interface_repository_id)

  ## ask the remote side
  ## have to do this ourselves since JacORB only resolves this locally (never calling remote)
  req = self._request('_repository_id')
  req.set_return_type(CORBA._tc_string)
  return req.invoke
end