boolean validateOnMatch = getBooleanIfSetOrGetDefault(dataSourceNode, VALIDATEONMATCH, false);
boolean spy = getBooleanIfSetOrGetDefault(dataSourceNode, SPY, false);
Validation validation = new ValidationImpl(backgroundValidation, backgroundValidationMinutes, useFastFail,
validConnectionChecker, checkValidConnectionSql, validateOnMatch, staleConnectionChecker,
exceptionSorter);
XaDataSource ds = new XADataSourceImpl(transactionIsolation, timeOut, security, statement, validation,
urlDelimiter, urlSelectorStrategyClassName, useJavaContext, poolName, enabled, jndiName, spy,
xaDataSourceProperty, xaDataSourceClass, module, newConnectionSql, xaPool);
xadatasourceList.add(ds);
}