Class PassThroughUnitOfWork

  • All Implemented Interfaces:
    io.automatiko.engine.api.uow.UnitOfWork

    public class PassThroughUnitOfWork
    extends Object
    implements io.automatiko.engine.api.uow.UnitOfWork
    The simplest version of unit of work (and one used when no other is configured) that simply pass through the work it intercepts. It has no operation methods for life cycle methods like start, end and abort.
    • Constructor Detail

      • PassThroughUnitOfWork

        public PassThroughUnitOfWork()
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface io.automatiko.engine.api.uow.UnitOfWork
      • end

        public void end()
        Specified by:
        end in interface io.automatiko.engine.api.uow.UnitOfWork
      • abort

        public void abort()
        Specified by:
        abort in interface io.automatiko.engine.api.uow.UnitOfWork
      • intercept

        public void intercept​(io.automatiko.engine.api.uow.WorkUnit work)
        Specified by:
        intercept in interface io.automatiko.engine.api.uow.UnitOfWork