[jbossts-issues] [JBoss JIRA] (JBTM-1188) Support override of CheckedAction
Mark Little (JIRA)
jira-events at lists.jboss.org
Mon Mar 4 08:11:56 EST 2013
[ https://issues.jboss.org/browse/JBTM-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758136#comment-12758136 ]
Mark Little commented on JBTM-1188:
There's a good reason it's protected at the moment: changing the CheckedAction is not something that we'd encourage user/application code to do in an uncontrolled manner for a number of reasons, including thread safety and understanding of precisely when such a change might take affect within the lifecycle of a transaction. By making the method protected we are allowing people to create their own transaction implementations which could provide updates on a more dynamic and per-instance basis. But pushing this into BasicAction is not something I think we should support at this stage.
> Support override of CheckedAction
> Key: JBTM-1188
> URL: https://issues.jboss.org/browse/JBTM-1188
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Tom Jenkinson
> Assignee: Mark Little
> Hi Mark,
> Assigned to you initially to confirm whether this is behavior we want. Please assign back to me with a comment if we do need this and I will implement it. Otherwise please do reject it.
> BasicAction::setCheckedAction is protected so cannot be called by user code (4.16.x and above).
> The suggestion given at:
> Would therefore not work with current versions of Narayana.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues