class ResourceManager {

  public List<? extends Resource> getTotalResources(String accountId)
      throws NotFoundException, ServerException {
    return getResourceDetails(accountId).getTotalResources();
  }

  @Inject public  ResourceManager(
      ResourceAggregator resourceAggregator,
      Set<ResourcesProvider> resourcesProviders,
      Set<ResourceUsageTracker> usageTrackers,
      AccountManager accountManager,
      Map<String, AvailableResourcesProvider> accountTypeToAvailableResourcesProvider,
      DefaultAvailableResourcesProvider defaultAvailableResourcesProvider);

}