You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/01/26 19:59:40 UTC

[jira] [Commented] (TAP5-1168) Add @Operation annotation that can be used to automatically track a component or service method invocation using the OperationTracker

    [ https://issues.apache.org/jira/browse/TAP5-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194081#comment-13194081 ] 

Hudson commented on TAP5-1168:
------------------------------

Integrated in tapestry-trunk-freestyle #667 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/667/])
    TAP5-1168: Add @Operation annotation that can be used to automatically track a component or service method invocation using the OperationTracker
TAP5-1168: Add @Operation annotation that can be used to automatically track a component or service method invocation using the OperationTracker

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1236311
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/OperationWorker.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/MiscTests.groovy
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/OperationWorkerDemo.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/OperationWorkerDemo.tml

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1236308
Files : 
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/annotations/Operation.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/OperationAdvisorImpl.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/services/OperationAdvisor.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/services/TapestryIOCModule.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/services/OperationAdvisorTest.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/services/OperationTrackedModule.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/services/OperationTrackedService.java

                
> Add @Operation annotation that can be used to automatically track a component or service method invocation using the OperationTracker
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1168
>                 URL: https://issues.apache.org/jira/browse/TAP5-1168
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core, tapestry-ioc
>    Affects Versions: 5.3, 5.4, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.4
>
>
> Much like @Log, it would be nice to automatically integrate the OperationTracker into method calls.
> i.e.
> @Operation("update login form")
> Object onActionFromLogin() { ... }
> The value attribute is used as is, unless it contains the '%' character, in which case it is assumed to be be a string format (passed an array of the method parameters).

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