}
}
}
private void buildDataSourceDefinition(final JndiConsumer consumer, final DataSourceDefinition d) {
final DataSource dataSource = new DataSource();
dataSource.setName(d.name());
dataSource.setClassName(d.className());
dataSource.setTransactional(d.transactional());
final DataSource existing = consumer.getDataSourceMap().get(dataSource.getKey());
if (existing != null) {
return;
}