Class TransactionNotificationListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<Object,org.exoplatform.wallet.model.transaction.TransactionDetail>
org.exoplatform.wallet.listener.TransactionNotificationListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class TransactionNotificationListener extends org.exoplatform.services.listener.Listener<Object,org.exoplatform.wallet.model.transaction.TransactionDetail>
A listener that is triggered when a watched transaction by the addon is mined on blockchain. This will send notifications to all involved wallets wallets but Admin/Corporate wallet.
  • Field Summary

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    TransactionNotificationListener(org.exoplatform.container.PortalContainer container)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(org.exoplatform.services.listener.Event<Object,org.exoplatform.wallet.model.transaction.TransactionDetail> 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

    • TransactionNotificationListener

      public TransactionNotificationListener(org.exoplatform.container.PortalContainer container)
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<Object,org.exoplatform.wallet.model.transaction.TransactionDetail> event) throws Exception
      Specified by:
      onEvent in class org.exoplatform.services.listener.Listener<Object,org.exoplatform.wallet.model.transaction.TransactionDetail>
      Throws:
      Exception