Package org.kie.kogito.services.uow
Class PassThroughUnitOfWork
- java.lang.Object
-
- org.kie.kogito.services.uow.PassThroughUnitOfWork
-
- All Implemented Interfaces:
UnitOfWork
public class PassThroughUnitOfWork extends Object implements 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(WorkUnit work)voidstart()
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceUnitOfWork
-
end
public void end()
- Specified by:
endin interfaceUnitOfWork
-
abort
public void abort()
- Specified by:
abortin interfaceUnitOfWork
-
intercept
public void intercept(WorkUnit work)
- Specified by:
interceptin interfaceUnitOfWork
-
-