9 6 4 The Ancestor Class DXACTBAS1

LANSA Composer

9.6.4 The Ancestor Class - DXACTBAS1

All Activity Processors must use DXACTBAS1 as their ancestor.

The ancestor class provides a set of properties, events and methods that you can reference in your Activity Processor that provide base services including:

  • Accessing the variable pool
  • Using the Java Service Manager
  • Setting the Activity return code
  • Logging services

Feature help is available for the base DXACTBAS1 class and for the logging helper, DXPSRLOG1. Feature help provides brief descriptions of a LANSA component's properties, methods and events. If the feature help for an item describes it as for "internal use only", then you should not use that item in your own Activity Processors.

In the Visual LANSA development environment, to get started exploring the features of the base class, put your cursor on #DXACTBAS1 in the BEGIN_COM statement (near the top of your Activity Processor source code) and press F2.