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 6 Next »

h2: Overview

The JtaUniOfWorkListener is a UnitOfWorkListener that makes the Unit Of Work transaction aware of JTA transactions. JTA (Java Transaction API) is the standard transaction API in J2EE.

h2: Definition

You can define the JtaUniOfWorkListener in two ways, using the SpringAspectContainer configuration file aware-config.xml or using a regular Java API.

h3: Java API

Specify the org.codehaus.aware.unitofwork.jta.JtaUnitOfWorkListener class as one of the listeners in the Class array passed to the UnitOfWork.initialize() method.

h3: Spring definition

Specify the org.codehaus.aware.unitofwork.jta.JtaUnitOfWorkListener class name as one of the listeners in the property listeners.

  • No labels