The Transactional Mixin is a mixin that allows you to add additional behaviour to the objects that you have defined as transactional.
It provides convience methods that the developer can use to interact with the Unit Of Work.
Here is the
org.codehaus.aware.unitofwork.Transactional interface that you can use to access the introduced methods:
To access the methods you have to cast the instance to the interface:
The Transactional Mixin is an inner class of the UnitOfWorkProtocol and is defined using the
This is how you can define it in the XML definition: