[weld-issues] [JBoss JIRA] Commented: (WELDX-104) Provide an annotation scanner that can locate a particular annotation on a bean property
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Wed May 26 07:57:54 EDT 2010
[ https://jira.jboss.org/browse/WELDX-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12532497#action_12532497 ]
Shane Bryzak commented on WELDX-104:
------------------------------------
Actually we can probably just copy AnnotatedBeanProperty as is, as I've updated it with the suggested changes.
> Provide an annotation scanner that can locate a particular annotation on a bean property
> ----------------------------------------------------------------------------------------
>
> Key: WELDX-104
> URL: https://jira.jboss.org/browse/WELDX-104
> Project: Weld Extensions
> Issue Type: Feature Request
> Reporter: Shane Bryzak
> Fix For: 1.0.0.Alpha3
>
>
> The scanner needs to be able to locate a bean property (either a field, or getter method) that is annotated with a certain annotation type, and containing certain annotation attribute values. There is an implementation of this in Seam Security (see http://svn.jboss.org/repos/seam/modules/security/trunk/impl/src/main/java/org/jboss/seam/security/util/AnnotatedBeanProperty.java), however it may be better to perform the attribute matching as a callback via an abstract method (and get rid of the AttributeValue stuff), e.g: public abstract boolean isMatch(T annotation);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list