2 Replies Latest reply on Jul 7, 2009 8:00 PM by Arno Mittelbach

    Custom annotations and final @Create methods

    Arno Mittelbach Newbie

      When I tried to handle custom annotations using the deploymentStrategy as described in Chapter 30 I found that for some reason the field fooClasses is not populated if the create method is declared as final. Is there any specific reason for this behaviour or is this a bug in Seam? I am using Seam 2.1.1.



      @In("#{deploymentStrategy.annotatedClasses['com.acme.Foo']}")
      private Set<Class<Object>> fooClasses;
      
        @Create
        public final void create() {
          // fooClasses is empty
        }
      



      Cheers
      Arno