org.ikasan.client
Interface ConnectionCallback


public interface ConnectionCallback

Callback interface for JCA connection code. When used with ConnectionTemplate, code encapsulated by the methods contained will be run against an open Connection

Author:
Ikasan Development Team

Method Summary
 Object doInConnection(javax.resource.cci.Connection connection)
          Code encapsulated by implementations of this will be run against the Connection
 

Method Detail

doInConnection

Object doInConnection(javax.resource.cci.Connection connection)
                      throws javax.resource.ResourceException
Code encapsulated by implementations of this will be run against the Connection

Parameters:
connection - The connection
Returns:
Object return from the work done in the Connection
Throws:
javax.resource.ResourceException - Exception from the Connector


Copyright © 2007-2012 Ikasan. All Rights Reserved.