Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

h2: Overview

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:

or

h2: Definition

The Transactional Mixin is an inner class of the UnitOfWorkProtocol and is defined using the transactionalObjects pointcut.

This is how you can define it in the XML definition:

  • No labels