[weld-issues] [JBoss JIRA] Created: (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:31:54 EDT 2010


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


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