Annotation support in method-expression
---------------------------------------
Key: CDV-274
URL: https://jira.terracotta.org/jira//browse/CDV-274
Project: Community Development
Issue Type: New Feature
Reporter: Anders Bengtsson
Assigned To: Issue Review Board
We'd like to configure auto-locks for all of our methods that are
annotated with a certain annotation.
I.e.:
@MyAnnotationForMethodsThatIWantReadLocksOn
public void foo() {
...
}
and in the config
<autolock>
<method-expression>something-goes-in-here</method-expression>
<lock-level>read</lock-level>
</autolock>
But the method-expression lacks the ability to select methods by annotation.
(Even better would be if TC provided its own annotations, eliminating the need
for XML, but the above solution is "good enough").
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev