Class TransactionSentToBlockchainListener

  • All Implemented Interfaces:
    org.exoplatform.container.component.ComponentPlugin

    public class TransactionSentToBlockchainListener
    extends org.exoplatform.services.listener.Listener<Object,​org.exoplatform.wallet.model.transaction.TransactionDetail>
    A listener that will be triggered when a transaction is effectively sent to blockchain through internal or external wallet provider
    • Field Summary

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

        desc, name
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionSentToBlockchainListener​(org.exoplatform.wallet.service.WalletTransactionService walletTransactionService, org.exoplatform.wallet.service.BlockchainTransactionService blockchainTransactionService)  
    • Constructor Detail

      • TransactionSentToBlockchainListener

        public TransactionSentToBlockchainListener​(org.exoplatform.wallet.service.WalletTransactionService walletTransactionService,
                                                   org.exoplatform.wallet.service.BlockchainTransactionService blockchainTransactionService)
    • 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