Class MetricsCronJobEventListener

java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<CronJobInfoEvent>
de.hybris.platform.cronjob.mbeans.event.MetricsCronJobEventListener
All Implemented Interfaces:
EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<CronJobInfoEvent>

public class MetricsCronJobEventListener extends AbstractEventListener<CronJobInfoEvent>
  • Constructor Details

    • MetricsCronJobEventListener

      public MetricsCronJobEventListener(MetricsCronJobHolder metricsCronJobHolder)
  • Method Details

    • onEvent

      protected void onEvent(CronJobInfoEvent event)
      Description copied from class: AbstractEventListener
      This method is called by ApplicationListener.onApplicationEvent(ApplicationEvent) and processes the given event.
      Specified by:
      onEvent in class AbstractEventListener<CronJobInfoEvent>
      Parameters:
      event - the event to be processed
      See Also:
      • ApplicationListener.onApplicationEvent(ApplicationEvent)