[jboss-jira] [JBoss JIRA] Created: (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 08:43:24 EDT 2011
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