[
https://issues.apache.org/jira/browse/ARIES-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14631769#comment-14631769
]
ASF GitHub Bot commented on ARIES-628:
--------------------------------------
GitHub user maxbruecken opened a pull request:
https://github.com/apache/aries/pull/26
ARIES-628 fix transaction itests
use right version of org.apache.aries.transaction.blueprint to fix
transaction itests after commit 70e39b6
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maxbruecken/aries ARIES-628-itests
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/aries/pull/26.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #26
----
commit 50436efbe6e414ce18a106d6149cd2d716634d0d
Author: maxbruecken <[email protected]>
Date: 2015-07-17T19:10:16Z
ARIES-628 use right version of org.apache.aries.transaction.blueprint to
fix itests after commit 70e39b6
----
> 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
> Fix For: transaction-blueprint-1.1.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)