transactionRegistry = xaConnectionFactory.getTransactionRegistry();
return xaConnectionFactory;
}
protected void createDataSourceInstance() throws SQLException {
PoolingDataSource pds = new ManagedDataSource(connectionPool, transactionRegistry);
pds.setAccessToUnderlyingConnectionAllowed(isAccessToUnderlyingConnectionAllowed());
pds.setLogWriter(logWriter);
dataSource = pds;
}