private List<PooledConnectionFactoryConfigProperties> getAdapterParams(ModelNode model) {
Map<String, ConnectionFactoryAttribute> attributes = PooledConnectionFactoryDefinition.getAttributes();
List<PooledConnectionFactoryConfigProperties> props = new ArrayList<>();
for (Property property : model.asPropertyList()) {
ConnectionFactoryAttribute attribute = attributes.get(property.getName());
if (attribute.getPropertyName() == null) {
// not a RA property
continue;
}
props.add(new PooledConnectionFactoryConfigProperties(attribute.getPropertyName(), property.getValue().asString(), attribute.getClassType()));
}
return props;
}