[
https://jira.jboss.org/jira/browse/ISPN-131?page=com.atlassian.jira.plugi...
]
Vladimir Blagojevic commented on ISPN-131:
------------------------------------------
There is no way to have this feature without delegating invocation of annot.name() to some
helper method. I mean we can do this, but not sure if you want to go in this direction. I
am indifferent. Invoking name() would probably look like:
String name = Util.name(annot);
@ConfigurationAttribute to "guess" the attribute name if it
is not provided
---------------------------------------------------------------------------
Key: ISPN-131
URL:
https://jira.jboss.org/jira/browse/ISPN-131
Project: Infinispan
Issue Type: Feature Request
Components: Configuration
Reporter: Manik Surtani
Assignee: Vladimir Blagojevic
Fix For: 4.0.0.BETA1
Not sure if it already does this, but doing something like
@ConfigurationAttribute(containingElement = "locking")
public void setWriteSkewCheck(boolean b) {
// ...
}
The annotation could deduce that the name of the attribute is "writeSkewCheck".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira