code: protected Configuration[] prepareConfigurations() {
          final List<Configuration> configList = new ArrayList<Configuration>();
          setupConfigList(configList);
          return configList.toArray(new Configuration[configList.size()]);
      }
docs: --------------