Import objects are generated in classes called <method-name>Import based on the import view of the CA Gen server. Import objects contain the actual import data for the execution of a server using the .NET proxy. The Import objects are also responsible for all data validation that is done on the attributes of the export views.
Even if the server does not contain any import views, an Import object is still generated because the system level data (Command, NextLocation) is always present. The developer must instantiate an Import object and then populate it with data. The instance is then passed onto the execution methods as a parameter.
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 © 2015 CA Technologies.
All rights reserved.
|
|