code: private static List<Validate> createResourceAdapter(Connector cmd,
           List<Failure> failures, ResourceBundle rb, ClassLoader cl)
     {
        List<Validate> result = new ArrayList<Validate>();
  
        if (cmd.getVersion() != Version.V_10 && cmd.getResourceadapter() != null &&
            cmd.getResourceadapter().getResourceadapterClass() != null)
        {
           try
           {
              Class<?> clazz = Class.forName(cmd.getResourceadapter().getResourceadapterClass(),
                                             true, cl);
              List<ConfigProperty> configProperties = cmd.getResourceadapter().getConfigProperties();
  
              ValidateClass vc = new ValidateClass(Key.RESOURCE_ADAPTER, clazz, configProperties);
              result.add(vc);
           }
           catch (ClassNotFoundException e)
           {
              Failure failure = new Failure(Severity.ERROR,
                                            rb.getString("uncategorized"),
                                            rb.getString("ra.cnfe"),
                                            e.getMessage());
              failures.add(failure);
           }
        }
        return result;
     }
docs: createResourceAdapter
  @param cmd connector metadata
  @param failures list of failures
  @param rb ResourceBundle
  @param cl classloador
  @return list of validate objects