The Import objects are generated in classes called <EJB name>Import based on the import view designed in the model for the CA Gen EJB Server. It contains the actual import data for the execution of the server. The Import objects are also responsible for all data validation that is done on the attributes on the export views.
Even if the server does not contain any import views, the Import object is still generated since the system level data (Command, NextLocation, and so on) are always present. The developer must instantiate an Import object and populate it with the data. The instance is then passed onto the execution methods as a parameter.
The Import objects are stateful. In fact, they exist to hold a state. Therefore, the developer must take care not to use a particular instance of one of these classes between different threads in a multi-threaded application.
|
Copyright © 2013 CA.
All rights reserved.
|
|