aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Ward (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ARIES-628) Support JTA attributes by annotations
Date Mon, 06 Feb 2012 11:09:59 GMT

     [ https://issues.apache.org/jira/browse/ARIES-628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Ward reassigned ARIES-628:
----------------------------------

    Assignee: Timothy Ward
    
> Support JTA attributes by annotations
> -------------------------------------
>
>                 Key: ARIES-628
>                 URL: https://issues.apache.org/jira/browse/ARIES-628
>             Project: Aries
>          Issue Type: New Feature
>          Components: Transaction
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Timothy Ward
>
> currently, we can 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"/>
> </bean>
> 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:
> @PostConstruct
> @PreDestroy
> @Resource
> @TransactionAttribute
> For instance, myPojo will look like:
> public class MyPojo {
>   @TransactionAttribute=Required
>   public void setData(Data data) {
>     ...
>   }
> } 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message