7 Replies Latest reply on Aug 27, 2007 7:38 PM by Stuart Douglas

    Custom annotation scanner

    Stuart Douglas Master

      Would it be possible to add a scanner for custom annotations into seam?
      I am thinking something along the lines of:

      1) Define the annotations that we are interested in in a configuration file, as well as the application scope context variables that they are to be loaded into.

      2) When the component scanner runs it also looks for these class level annotations, and loads the class names into a list.

      3) These lists are then saved to the application scope.

      Application scoped components could then use these lists to set up any infrastructure that uses these classes.