Class PassThroughUnitOfWork
- java.lang.Object
-
- io.automatiko.engine.services.uow.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 Summary
Constructors Constructor Description PassThroughUnitOfWork()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabort()voidend()voidintercept(io.automatiko.engine.api.uow.WorkUnit work)voidstart()
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceio.automatiko.engine.api.uow.UnitOfWork
-
end
public void end()
- Specified by:
endin interfaceio.automatiko.engine.api.uow.UnitOfWork
-
abort
public void abort()
- Specified by:
abortin interfaceio.automatiko.engine.api.uow.UnitOfWork
-
intercept
public void intercept(io.automatiko.engine.api.uow.WorkUnit work)
- Specified by:
interceptin interfaceio.automatiko.engine.api.uow.UnitOfWork
-
-