protected TransactionManagerLookup findDelegate() {
ClassLoader classLoader = ClassLoaderLocator.fromContext();
if (ClassUtils.isPresent(WEBSPHERE_CLASS, classLoader))
return new WebSphereExtendedJTATransactionLookup();
else if (ClassUtils.isPresent(BTM_CLASS, classLoader))
return new BTMTransactionManagerLookup();
else
return new SunONETransactionManagerLookup();
}