Create a new CORBA naming context within the naming service.
Usage
createNamingContext(..., recursive=F, server=NULL)
Arguments
...
|
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.
|
Description
Creates a new naming context into which CORBA servers
can be registered.Value
A CORBA object (IOR and name) with IDL type
NamingContext
which can be used in future calls.Author(s)
Duncan Temple LangReferences
Usual CORBA referencesSee Also
namedCorbaObject,
namingService,
namingServiceContents,
removeNamedCorbaObjectExamples
# 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()