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 > Implementing outbound support
WBIConnection
WBIConnection implements the Connection interface. An instance of this interface, such as javax.resource.cci.Connection, represents a client connection handle to the underlying EIS connection. A client obtains this connection by calling the getConnection method of the ConnectionFactory instance.
Subclass methods to implement
- Implement the constructor that takes a ManagedConnection and call the Super class constructor that associates this connection handle with the ManagedConnection.
public EISSAConnection(WBIManagedConnection arg0) throws ResourceException { super(arg0); }- Create an EIS-specific interaction instance that enables clients to invoke functions on the underlying EIS.
public Interaction createInteraction() throws ResourceException { return new EISSAInteraction(this); }If you want to provide your own implementation of ConnectionMetadata, you must override method WBIConnection#getMetadata.
Related concepts: