Class Transaction.TransactionAwareExecution

  • Enclosing class:
    Transaction

    public abstract static class Transaction.TransactionAwareExecution
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      abstract void execute​(Transaction tx)  
      abstract java.lang.Object getId()
      id is used for output in case of errors and to decided if this execution was already registered during this transaction run
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransactionAwareExecution

        public TransactionAwareExecution()
    • Method Detail

      • execute

        public abstract void execute​(Transaction tx)
                              throws java.lang.Exception
        Parameters:
        tx - the current transaction if you want to make the execution depended of some tx context variables
        Throws:
        java.lang.Exception
      • getId

        public abstract java.lang.Object getId()
        id is used for output in case of errors and to decided if this execution was already registered during this transaction run
        Returns:
        the id
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object