2-36
SOMobjects Base Toolkit: Programmer’s Reference Manual
ImplementationDef Class
Description
The ImplementationDef class defines attributes necessary for the DSOM daemon to find
and activate the implementation of an object.
Note: Details of the ImplementationDef object are not currently defined in the CORBA
1.1 specification; the attributes which have been defined are required by DSOM.
File Stem
impldef
Base
SOMObject
Metaclass
SOMClass
Ancestor Classes
SOMObject
Attributes
The following is a list of 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 myserver
Servers that are started automatically by somdd will always be passed
their impl_id as the first parameter.
impl_flags (Flags)
Contains a bit-vector of flags used to identify server options. Currently, the
IMPLDEF_MULTI_THREAD flag indicates that each request should be
executed on a separate thread (OS/2 only). IMPLDEF_DISABLE_SVR
indicates that the server process has been disabled from starting.
impl_server_class (string)
Contains the name of the SOMDServer class or subclass created by the
server process.
Comentários a estes Manuais