code: private static List<Validate> createAdminObject(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().getAdminObjects() != null)
        {
           List<AdminObject> aoMetas = cmd.getResourceadapter().getAdminObjects();
           if (!aoMetas.isEmpty())
           {
              for (AdminObject aoMeta : aoMetas)
              {
                 if (aoMeta.getAdminobjectClass() != null
                       && !aoMeta.getAdminobjectClass().equals(XsdString.NULL_XSDSTRING))
                 {
  
                    try
                    {
                       Class<?> clazz = Class.forName(aoMeta.getAdminobjectClass().getValue(), true, cl);
                       List<ConfigProperty> configProperties = aoMeta.getConfigProperties();
  
                       ValidateClass vc = new ValidateClass(Key.ADMIN_OBJECT, clazz, configProperties);
                       result.add(vc);
                    }
                    catch (ClassNotFoundException e)
                    {
                       Failure failure = new Failure(Severity.ERROR,
                                                     rb.getString("uncategorized"),
                                                     rb.getString("ao.cnfe"),
                                                     e.getMessage());
                       failures.add(failure);
                    }
                 }
              }
           }
        }
        return result;
     }
docs: createAdminObject
  @param cmd connector metadata
  @param failures list of failures
  @param rb ResourceBundle
  @param cl classloador
  @return list of validate objects