Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2860

Provide AnnotationScanner interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • JSR-314
    • None

    Description

      Looking integration of myfaces with JBoss AS6, it was notice myfaces does not have a way to override the annotation configurator.

      Ri has a class called AnnotationProvider with this methods:

      public AnnotationProvider(ServletContext sc)

      abstract public Map<?> getAnnotatedClasses(Set<URL> urls)

      the documentation says it is possible to override using this type of constructor.

      public AnnotationProvider(ServletContext sc, AnnotationProvider parent)

      We should provide something similar (let's call it AnnotationScanner because its objective is scan for annotations).

      Attachments

        1. MYFACES-2860-1.patch
          65 kB
          Leonardo Uribe
        2. jboss-myfaces.zip
          72 kB
          Leonardo Uribe
        3. Myfaces-2.0-jsf.deployer.zip
          3.01 MB
          Leonardo Uribe
        4. Myfaces-2.0-jsf.deployer-2.zip
          3.03 MB
          Leonardo Uribe
        5. jboss-myfaces-2.zip
          73 kB
          Leonardo Uribe
        6. MYFACES-2860-2.patch
          146 kB
          Leonardo Uribe

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              lu4242 Leonardo Uribe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: