Server object
Each server process contains a single server object, which has the
following responsibilities for managing objects in the server:
- Provides an interface to client applications for
basic object creation and destruction services, as well as any other application-specific
object-management services that may be required by clients. For example,
a print server may have a method that returns a list of all printers managed
by that server. Clients may call this method to find out what printers are
available.
- Provides an interface to the SOM Object Adapter
for support in the creation and management of DSOM object references
(which are used identify an object in the server), and for dispatching requests.
- The server class, SOMDServer, defines the base
interface that must be supported by any server object. In addition,
SOMDServer provides a default implementation that is suited to managing
transient SOM objects in a server. This section will show how an application
might override the basic SOMDServer methods and introduce new methods
in order to tailor the server object functionality to a particular application.
[Back: SOM Object Adapter (SOMOA)]
[Next: Server activation]