Defining the server initialization
Procedure
- In the browser,
expand
the SDM_Server Configurations.
- Double-click the DefaultConfig configuration
for the SDM_Server component to display the Features
window.
- Select the Initialization tab.
- In the Initialization code field,
type the code to instantiate SDM on startup.
The InstanceNameInConstructor property (under CORBA::Class)
specifies whether to generate a constructor that can accept an instance
name for a class that implements a CORBA interface. If this property
is Checked and the default implementation method
is Inheritance, you can instantiate a realizing class
with a specific name.
As an alternative
to writing initialization code manually, you can simply select SDM
as an "initial instance." In this case, IBM® Rational® Rhapsody® automatically
creates a single initial instance of SDM with a string name indicator.
- Make sure that animation is disabled
for
the DefaultConfig configuration (in the Settings tab,
the Instrumentation Mode setting is None).
- Click OK.