Defining the server initialization

Procedure

  1. In the browser, expand the SDM_Server > ConfigurationsConfigurations.
  2. Double-click the DefaultConfig configuration for the SDM_Server component to display the Features window.
  3. Select the Initialization tab.
  4. 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.
  5. Make sure that animation is disabled for the DefaultConfig configuration (in the Settings tab, the Instrumentation Mode setting is None).
  6. Click OK.

Feedback