if (tm instanceof TransactionTimeoutConfiguration) { return ((TransactionTimeoutConfiguration)tm).getTransactionTimeout(); } return 0;