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

Paul Robinson (Updated) (JIRA) jira-events at lists.jboss.org
Tue Nov 29 06:05:42 EST 2011


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

Paul Robinson updated JBTM-971:
-------------------------------

    Component/s: TXFramework

    
> 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.M2
>
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossts-issues mailing list