Class 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 mark the transaction as not pending in internal database and send notifications.
    • Constructor Detail

      • TransactionNotificationListener

        public TransactionNotificationListener​(org.exoplatform.container.PortalContainer container)
    • Method Detail

      • 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