| createNamingContext {CORBA} | R Documentation |
Creates a new naming context into which CORBA servers can be registered.
createNamingContext(..., recursive=F, server=NULL)
... |
one or more character elements which are treated either as the names of individual naming contexts to be created, or which are collected to define a path identifying the new naming context relative to the top-level container of the default CORBA naming service. |
recursive |
controls whether multiple names in ...
are treated as multiple new naming context names or
a single new naming context at depth length(...)-1.
|
server |
CORBA identifier (IOR, name relative to the current top-level naming service in which the new naming context will be created. |
A CORBA object (IOR and name) with IDL type
NamingContext
which can be used in future calls.
Duncan Temple Lang
Usual CORBA references
namedCorbaObject,
namingService,
namingServiceContents,
removeNamedCorbaObject
# Can run if naming server is running.
createNamingContext("R")
namingServiceContents()
# create A within R.
createNamingContext("A", server=namedCorbaObject("R"))
namingServiceContents()
# create B within R.
createNamingContext("R","B", recursive=TRUE)
namingServiceContents()
createNamingContext("X","Y","Z", recursive=FALSE)
namingServiceContents()