The Import objects are generated in classes called <method-name>Import based on the import view for the CA Gen server. The object contains the actual import data for the execution of a server through the Java proxy. The Import objects are also responsible for all data validation that is done on the attributes of the import 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 the data. The instance is then passed onto the execution methods as a parameter.
The Import objects are not stateless. 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 or use in concurrent asynchronous flows.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|