[jboss-jira] [JBoss JIRA] Commented: (AS7-1380) EJB component annotation scanning deployers should ignore component declaring annotations on interfaces

jaikiran pai (JIRA) jira-events at lists.jboss.org
Fri Jul 22 09:33:23 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615915#comment-12615915 ] 

jaikiran pai commented on AS7-1380:
-----------------------------------

I replied in the forum thread http://community.jboss.org/thread/169876?tstart=0


> EJB component annotation scanning deployers should ignore component declaring annotations on interfaces
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-1380
>                 URL: https://issues.jboss.org/browse/AS7-1380
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EE
>    Affects Versions: 7.0.0.Final
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>
> Consider this interface:
> {code}
> @Stateless
> public interface IAmAnInterface {
> ..
> {code}
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list