aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré>
Subject JTA and annotations
Date Wed, 30 Mar 2011 09:47:43 GMT
Hi guys,

currently, I use a Blueprint descriptor to define the transaction 
attribute associated to methods:

<bean id="myPojo" class="myPojo" init-method="init">
   <tx:transaction method="set*" value="Required"/>
   <tx:transaction method="get*" value="Supported"/>

I think it could be interesting for the users to define transaction 
attributes directly in the POJO using annotations.

For instance, it could be helpful to support the following annotations:

For instance, myPojo will look like:

public class MyPojo {

   public void setData(Data data) {



If you are OK, I will raise a Jira and start to work on it.


View raw message