List<String> beanValidationGroups = new ArrayList<String>(operation.get(BEANVALIDATIONGROUPS).asList().size());
for (ModelNode beanValidtion : operation.get(BEANVALIDATIONGROUPS).asList()) {
beanValidationGroups.add(beanValidtion.asString());
}
ResourceAdapter ra;
try {
ra = new ResourceAdapterImpl(archive, transactionSupport, buildConnectionDefinitionObject(operation),
buildAdminObjects(operation), configProperties, beanValidationGroups, bootstrapContext);
} catch (ValidateException e) {
throw new OperationFailedException(e, operation);