Creating Adapter Startup and Shutdown Java Services
The adapter must have one Java Service each for startup and shutdown.
The startup method must retrieve an instance of your
WmAdapter implementation class and pass it to
AdapterAdmin.
registerAdapter method.
The shutdown service must perform the following:
Retrieve an instance of your
WmAdapter implementation class and pass it to
AdapterAdmin.
unregisterAdapter method.
Perform the cleanup operations needed by your adapter. In most cases, this is accomplished by calling
MyAdapter.
cleanup method before the call to
AdapterAdmin.
unregisterAdapter method.
You can create the startup and shutdown Java Services in two ways:
1. Create adapter admin Java class, which is used to generate corresponding Java Services using jcode utility.
2. Create Java Services using Designer, which is compiled using Integration Server Administrator.