* @param status transaction status
* @param poolInfo Pool name
* @return delisted resources
*/
public List<ResourceHandle> transactionCompleted(Transaction tran, int status, PoolInfo poolInfo) {
JavaEETransaction j2eetran;
List<ResourceHandle> delistedResources = new ArrayList<ResourceHandle>();
try {
j2eetran = (JavaEETransaction) tran;
} catch (ClassCastException e) {
if (_logger.isLoggable(Level.FINE)) {
_logger.log(Level.FINE, "Pool: transactionCompleted: "
+ "transaction is not J2EETransaction but a " + tran.getClass().getName(), e);
}
return delistedResources;
}
Set set = j2eetran.getResources(poolInfo);
if (set == null) return delistedResources;
Iterator iter = set.iterator();
while (iter.hasNext()) {