Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-300

Web30MetaDataCreator doesn't ignore classes annotated with @Singleton while creating metadata

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.CR1
    • jboss-metadata-web-2.0.0-alpha-15
    • web
    • None

      Web30MetaDataCreator doesn't ignore @Singleton while creating metadata from classes:

      static
      {
      // Ignoring classes with the the following type annotations
      ignoreTypeAnnotations = new HashSet<Class<? extends Annotation>>();
      ignoreTypeAnnotations.add(Stateful.class);
      ignoreTypeAnnotations.add(Stateless.class);
      ignoreTypeAnnotations.add(MessageDriven.class);
      ignoreTypeAnnotations.add(Service.class);
      ignoreTypeAnnotations.add(Consumer.class);
      }

              rmaucher Remy Maucherat
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: