IBM WebSphere Adapters Network Card User Manual


 
Command Manager Create
When it processes this structure, the interpreter will execute the No-op commands
as well as the Create command. In general, the no-op commands should not
modify data in the EIS system.
After-image processing:
The Command Manager, based on the CommandManager API, implements the
command pattern capability. This utility simplifies the work of comparing before-
and after-image data.
The Command Manager is based on the CommandManager API of the Adapter
Foundation Classes. For after-image processing, the Command Manager compares
the cursor record structure inside the EIS (the before-image) with that of the
incoming after-image cursor. Based on the comparison, the Command Manager
constructs a hierarchical representation of commands that must be executed to
make the before-image object match that of the after-image. The command
hierarchy is passed to an interpreter, which executes each command in the order of
execution required for the declared operation. The order of execution for Create
and Update is top-to-bottom; for Delete the order is bottom-to-top.
As shown in the following figure, the Command Manager relieves you of the task
of developing and testing comparison routines.
110 WebSphere Adapters: WebSphere Adapter Toolkit User Guide