logger.info("Found WebSphere 4: " + FACTORY_CLASS_4);
}
catch (ClassNotFoundException ex3)
{
logger.debug("Could not find WebSphere 4 TransactionManager factory class", ex3);
throw new MuleRuntimeException(
CoreMessages.createStaticMessage("Couldn't find any WebSphere TransactionManager factory class, "
+ "neither for WebSphere version 5.1 nor 5.0 nor 4"),
ex);
}
}
}
try
{
Method method = clazz.getMethod("getTransactionManager", (Class[])null);
transactionManager = (TransactionManager) method.invoke(null, (Object[])null);
}
catch (Exception ex)
{
throw new MuleRuntimeException(
CoreMessages.createStaticMessage("Found WebSphere TransactionManager factory class ["
+ clazz.getName()
+ "], but couldn't invoke its static 'getTransactionManager' method"),
ex);
}