if (ra.getOutboundResourceAdapter() == null ||
ra.getOutboundResourceAdapter().getConnectionDefinitionGroup() == null ||
ra.getOutboundResourceAdapter().getConnectionDefinitionGroup().size() == 0)
return null;
ConnectionDefinitionProperties defaultCdProps = ra.getOutboundResourceAdapter().getDefaultConnectionProperties();
for (ConnectionDefinition conDef : ra.getOutboundResourceAdapter().getConnectionDefinitionGroup())
{
ConnectionDefinitionProperties groupCdProps = mergedCdProps(defaultCdProps,
conDef.getDefaultConnectionProperties());
if (conDef.getConnectionInstance() == null)
continue;
for (ConnectionInstance conInstance : conDef.getConnectionInstance())
{
ConnectionDefinitionProperties myCdProps = mergedCdProps(groupCdProps,
conInstance.getConnectionProperties());
if (myCdProps.getTransactionSupport().equals(TransactionSupport.NoTransaction))
{
noTxConnectionFactory.add(buildNoTxConnectionFactory(conInstance.getJndiName(), myCdProps, ra));
}
else
{