Registering Servants

  1. Select New --> Servant on the POA Node that represents the parent POA.
  2. On the New Servant dialog, specify the variable and ObjectID related to the New Servant.
  3. Click the Generate servant instantation code checkbox to generate code that creates an instance of this servant.
  4. If you clicked the above checkbox, the Type and Constructor text fields are enabled.
  5. Enter the Type for the servant POA instance.
  6. Provide a Constructor for the servant POA instance.
  7. Click OK.

The IDE generates source code and places the code in a read-only guarded block within the server's main method.

See also
  Creating a New Adapter Activator
Creating a New Servant Locator

Legal Notices