} else if (attributeName.equals(Constants.USE_CCM.getName())) {
setBooleanIfNotNull(context, dataSource.isUseCcm());
} else if (attributeName.equals(Constants.JTA.getName())) {
setBooleanIfNotNull(context, true);
} else if (attributeName.equals(Constants.ALLOW_MULTIPLE_USERS.getName())) {
XaPool pool = dataSource.getXaPool();
if (!(pool instanceof DsXaPool)) {
return;
}
setBooleanIfNotNull(context, ((DsXaPool) pool).isAllowMultipleUsers());
} else if (attributeName.equals(Constants.CONNECTION_LISTENER_CLASS.getName())) {
XaPool pool = dataSource.getXaPool();
if (!(pool instanceof DsXaPool) || ((DsXaPool) pool).getConnectionListener() == null) {
return;
}
setStringIfNotNull(context, ((DsXaPool) pool).getConnectionListener().getClassName());
} else if (attributeName.equals(Constants.CONNECTION_LISTENER_PROPERTIES.getName())) {
XaPool pool = dataSource.getXaPool();
if (!(pool instanceof DsXaPool) || ((DsXaPool) pool).getConnectionListener() == null) {
return;
}
final Map<String, String> propertiesMap = ((DsXaPool) pool).getConnectionListener().getConfigPropertiesMap();
if (propertiesMap == null) {