Registering servers and classes
Implementation definitions:
The Implementation Repository holds ImplementationDef objects The
ImplementationDef class defines attributes necessary for the SOMOA
to find and activate the implementation of an object. Details of the
ImplementationDef object are not currently defined in the CORBA 1.1
specification; the attributes that have been defined are required by DSOM.
Listed below is each available attribute, with its corresponding type in
parentheses, followed by a description of its purpose:
impl_id (string)
Contains the DSOM-generated identifier
for a server implementation.
impl_alias (string)
Contains the "alias" (user-friendly name) for a
server implementation.
impl_program (string)
Contains
the name of the program or command file which will be executed when a process
for this server is started automatically by somdd. If the full pathname
is not specified, the directories specified in the PATH environment variable
will be searched for the named program or command file.
Optionally, the server program can be run under control of a "shell" or
debugger, by specifying the shell or debugger name first, followed by the
name of the server program. (A space separates the two program names.) For
example,
dbx myprogram
will start the program "myprogram" under control of "dbx".
Servers that are started automatically by somdd will always be passed their
impl_id as the first parameter, in order to retrieve their ImplementationDef
(if desired).
impl_flags (Flags)
Contains
a bit-vector of flags used to identify server options (for example, the
IMPLDEF_MULTI_THREAD flag indicates multi-threading). See the impldef.idl
file for the complete set of valid ImplementationDef flags. Unused
flag bits are reserved for future use by IBM.
impl_server_class
(string)
Contains the name of the SOMDServer
class or subclass created by the server process.
impl_refdata_file
(string)
Contains the full pathname of the file
used to store ReferenceData for the server.
impl_refdata_bkup
(string)
Contains the full pathname of the backup
mirror file used to store ReferenceData for the server. This file
can be used to restore a copy of the primary file in case it becomes corrupted.
(It would be a good idea to keep the primary and backup files in different
disk volumes.)
impl_hostname (string)
Contains
the hostname of the machine where the server is located.
[Back: Registering class interfaces]
[Next: The 'regimpl', 'pregimpl', 'wregimpl' registration utilities]