Class PreferencesApplicationListener

java.lang.Object
org.openwms.core.preferences.app.PreferencesApplicationListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.openwms.core.event.MergePropertiesEvent>

@Component class PreferencesApplicationListener extends Object implements org.springframework.context.ApplicationListener<org.openwms.core.event.MergePropertiesEvent>
A PreferencesApplicationListener.
Author:
Heiko Scherrer
  • Field Details

  • Constructor Details

    • PreferencesApplicationListener

      PreferencesApplicationListener(PreferencesService service)
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(org.openwms.core.event.MergePropertiesEvent event)
      When a MergePropertiesEvent is caught, new Preferences received from the file provider are persisted. Already existing Preferences are ignored.
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.openwms.core.event.MergePropertiesEvent>