If you could improve on that you would getter better performance; maybe it's possible to store this information in some metadata which is discovered at boot time?
the list of groups to validate is passed dynamically for each validation call. It cannot be discovered at boot time. We could try to cache the reflection calls made for a given group/class, however, we would make sure that cache entries can be garbage collected as well.
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
the list of groups to validate is passed dynamically for each validation call. It cannot be discovered at boot time. We could try to cache the reflection calls made for a given group/class, however, we would make sure that cache entries can be garbage collected as well.