Class HubConnectedAutoSendReportListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<io.meeds.wom.api.model.Hub,Object>
io.meeds.tenant.hub.listener.HubConnectedAutoSendReportListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

@Component public class HubConnectedAutoSendReportListener extends org.exoplatform.services.listener.Listener<io.meeds.wom.api.model.Hub,Object>
This listener will be triggered when the Hub is connected to the WoM. Once connected, the listener will send automatically last elligible reward report.
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onEvent(org.exoplatform.services.listener.Event<io.meeds.wom.api.model.Hub,Object> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HubConnectedAutoSendReportListener

      public HubConnectedAutoSendReportListener()
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<io.meeds.wom.api.model.Hub,Object> event) throws Exception
      Specified by:
      onEvent in class org.exoplatform.services.listener.Listener<io.meeds.wom.api.model.Hub,Object>
      Throws:
      Exception
    • init

      @PostConstruct public void init()