/** {@inheritDoc} */
  @Override
  public void setInputDefinition(InputDefinition inputDefinition) {
    super.setInputDefinition(inputDefinition);

    template = new ClassLoadingInformationData();
    template.setPlatformIdent(inputDefinition.getIdDefinition().getPlatformId());
    template.setSensorTypeIdent(inputDefinition.getIdDefinition().getSensorTypeId());
    template.setId(-1L);

    dataAccessService = inputDefinition.getRepositoryDefinition().getGlobalDataAccessService();
    aggregator = new ClassLoadingInformationDataAggregator();
  }
 /**
  * Updates the upper plot with the given input data.
  *
  * @param classLoadingData The input data.
  */
 private void addUpperPlotData(List<ClassLoadingInformationData> classLoadingData) {
   for (ClassLoadingInformationData data : classLoadingData) {
     int loadedClassAverage = data.getTotalLoadedClassCount() / data.getCount();
     long totalLoadedClassAverage = data.getTotalTotalLoadedClassCount() / data.getCount();
     loadedClasses.add(
         data.getTimeStamp().getTime(),
         loadedClassAverage,
         data.getMinLoadedClassCount(),
         data.getMaxLoadedClassCount(),
         false);
     totalLoadedClasses.add(
         data.getTimeStamp().getTime(),
         totalLoadedClassAverage,
         data.getMinTotalLoadedClassCount(),
         data.getMaxTotalLoadedClassCount(),
         false);
   }
   loadedClasses.fireSeriesChanged();
   totalLoadedClasses.fireSeriesChanged();
 }