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

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

      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.

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

                Created:
                Updated:
                Resolved: