IBM WebSphere Adapters User Manual

Page 44

Advertising
background image

When you choose the connection pooling component property the wizard will
create the ActivationSpecWithXid class that extends
WBIActivationSpecForPooling

.

For information on how to generate inbound connection pooling support, see
Generating inbound connection pooling support.

v

Event polling support
Generating inbound adapter classes for event polling support creates code for
the methods that must be implemented to produce a resource adapter that can
send polling events from an EIS to a business process.
The list of Adapter Foundation Classes that are extended in your Connector
Project when you choose to generate inbound adapter classes for event polling
support is as follows:
– ActivationSpecWithXid extends com.ibm.j2ca.base.WBIActivationSpecWithXid
– EventStoreWithXid extends

com.ibm.j2ca.extension.eventmanagement.EventStoreWithXid

When the CommException exception is logged during adapter startup because
the EIS is down, stopped, or unreachable, the adapter automatically retries the
connection if the RetryConnectionOnStartup activation specification property is
enabled. If the property is not enabled, the adapter immediately reports the
failure. This support is provided by the Adapter Foundation Classes. An adapter
user enables this property in the external service wizard by selecting Retry EIS
connection on startup

on the Service Generation and Deployment Configuration

window. The RetryConnectionOnStartup property works with the RetryLimit
and RetryInterval properties, which specify the number of times the adapter
retries the connection and the length of time it waits before retrying.
For information on how to generate event polling support, see Generating
inbound event polling support.

v

Generating inbound callback event support
Generating inbound adapter classes for callback event support creates code for
the methods that must be implemented to produce a resource adapter that can
send callback events from an EIS to a business process.
The list of Adapter Foundation Classes that are extended in your Connector
Project when you choose to generate inbound adapter classes for callback event
support is as follows:
– ActivationSpecWithXid extends com.ibm.j2ca.base.WBIActivationSpecWithXid
– InboundListener that imports in

com.ibm.j2ca.extension.eventmanagment.external.CallbackEventSender

For information on how to generate inbound callback event support, see
Generating inbound callback event support.

Data Binding classes

There are no properties associated with data binding classes.

Generating data binding classes creates code for the methods needed to marshall
data from SDO to CCI record and from CCI record to SDO.

The list of Adapter Foundation Classes that are extended in your Connector Project
when you choose to generate data binding classes is as follows:

v

DataBinding

implements

commonj.connector.runtime.RecordHolderDataBinding

v

DataBindingGenerator

extends

38

WebSphere Adapters: WebSphere Adapter Toolkit User Guide

Advertising