IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Implementing code from the IBM WebSphere Adapter Toolkit > Outbound support > Use command patterns
Implementing Command Manager
You implement commands for each type of operation supported by the adapter, a command factory to support instances of each operation, and calls to the Command Manager.
You will need to implement the following:
- Command implementations for each command type ("Retrieve", "RetrieveAll", "Create", "Update", "Delete", and "NoOperation").
- A command factory implementation that will create instances of these EIS-specific commands.
- An implementation of Interaction.doExecute() that calls the Command Manager.
- Command implementations
You use an doExecute() method to implement commands. Extending an abstract base command with operation-specific commands supports the coding benefits of command patterns.
- Command factory implementations
The command factory creates operation-specific command instances and establishes when the instance is processed.- Implementing Interaction.doExecute()
To enable the command pattern capability, you implement a class from the InteractionSpec with a call to the Command Manager. The InteractionSpec is part of the JCA CCI interface.