Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1380

EJB component annotation scanning deployers should ignore component declaring annotations on interfaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.1.Final
    • 7.0.0.Final
    • EE
    • None

    Description

      Consider this interface:

      @Stateless
      public interface IAmAnInterface {
      ..
      

      We should not be picking up this interface as a component. We should only pickup these annotations from a class. We can just log a WARN about this incorrect annotation and skip its processing.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: