Class TxBonitaWork


  • public class TxBonitaWork
    extends WrappingBonitaWork
    A work that wrap an other work in a transaction
    Author:
    Baptiste Mesta, Emmanuel Duchastenier, Charles Souillard, Celine Souchet
    • Constructor Detail

      • TxBonitaWork

        public TxBonitaWork​(BonitaWork wrappedWork)
    • Method Detail

      • work

        public java.util.concurrent.CompletableFuture<java.lang.Void> work​(java.util.Map<java.lang.String,​java.lang.Object> context)
                                                                    throws java.lang.Exception
        Description copied from class: BonitaWork
        Execution code of the work
        Specified by:
        work in class BonitaWork
        Parameters:
        context - a map of context that can be filled by a work to be given to a wrapped work
        Throws:
        java.lang.Exception