Uploaded image for project: 'Weld Extensions (CLOSED)'
  1. Weld Extensions (CLOSED)
  2. WELDX-104

Provide an annotation scanner that can locate a particular annotation on a bean property

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.Beta1
    • Component/s: None
    • Labels:
      None

      Description

      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);

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shane.bryzak Shane Bryzak
                Reporter:
                shane.bryzak Shane Bryzak
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: