Retrieve a reference to a CORBA object in the naming service.

Usage

namedCorbaObject(..., .server=character(0))

Arguments

... a sequence of one or more character strings that identify a path in the naming context defined by .server. Note that an IOR is not acceptable here, so this differs from the functions that take an arbitrary CORBA identifier.
.server the naming context relative to which the names specified by the ... argument should be resolved. By default, this is the current top-level naming service.

Description

Returns a CORBA identifier (an IOR in R and an object of class CORBAObject in S) representing the element registed with the specified name in the specified naming context.

Details

Value

In R, this is currently a simple string that is an IOR - InterOperable Object Reference - created by the CORBA (ORB actually) routine object_to_string.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/CORBA

See Also

namingService, namingServiceContents, createNamingContext, removeNamedCorbaObject

Examples

  # create an object that is a simple
 createNamingContext("R")
  #  Now get its IOR.
 namedCorbaObject("R") 

  # Now use the IOR in another function call
  # that expects a CORBA identifier
 idlType(namedCorbaObject("R"))
  # Same as above.
 idlType("R")


[Package Contents]