[jbossts-issues] [JBoss JIRA] (JBTM-971) Allow a ServiceRequst method to programaticaly state that it is ReadOnly

Paul Robinson (JIRA) jira-events at lists.jboss.org
Tue Aug 27 10:37:26 EDT 2013


     [ https://issues.jboss.org/browse/JBTM-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Robinson resolved JBTM-971.
--------------------------------

         Assignee: Paul Robinson
    Fix Version/s: 5.0.0.M5
                       (was: 5.0.0.Final)
       Resolution: Done


Applies to AT support which is being dropped in favour of JTA bridging. In which case ReadOnly is notified via the XA mechanism.
                
> Allow a ServiceRequst method to programaticaly state that it is ReadOnly
> ------------------------------------------------------------------------
>
>                 Key: JBTM-971
>                 URL: https://issues.jboss.org/browse/JBTM-971
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: TXFramework
>            Reporter: Paul Robinson
>            Assignee: Paul Robinson
>              Labels: TXFramework
>             Fix For: 5.0.0.M5
>
>
> This method can be called from a web service method while a transaction is active to notify the framework that no changes have been made during execution of the service method. This is a useful alternative to annotating the ServiceRequest as ReadOnly as it allows the business logic to decide at runtime if modifications were made.
> {code}
> public interface Control
> {
>     public void readOnly();
> }
> {code}

--
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 mailing list