Package org.ikasan.client
Interface ConnectionCallback
-
public interface ConnectionCallbackCallback interface for JCA connection code. When used with ConnectionTemplate, code encapsulated by the methods contained will be run against an openConnection- Author:
- Ikasan Development Team
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectdoInConnection(javax.resource.cci.Connection connection)Code encapsulated by implementations of this will be run against theConnection
-
-
-
Method Detail
-
doInConnection
java.lang.Object doInConnection(javax.resource.cci.Connection connection) throws javax.resource.ResourceExceptionCode encapsulated by implementations of this will be run against theConnection- Parameters:
connection- The connection- Returns:
- Object return from the work done in the Connection
- Throws:
javax.resource.ResourceException- Exception from the Connector
-
-