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

  1. 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);
    	}

  2. 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.

Implementing outbound support


Related concepts:

WBIManagedConnectionFactory

WBIManagedConnection

WBIConnectionFactory

javax.resource.cci.ConnectionSpec

WBIInteraction

WBIInteractionSpec

WBIConnectionRequestInfo

javax.resource.cci.ConnectionMetadata