[jboss-jira] [JBoss JIRA] (WFLY-4821) BusinessViewAnnotationProcessor doesn't consider annotation index

Jan Martiska (JIRA) issues at jboss.org
Tue Jun 23 08:18:03 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Martiska closed WFLY-4821.
------------------------------
    Resolution: Rejected


Oh, you're right. I was betrayed by the fact that javax.api doesn't contain javax.ejb.api. Sorry and thanks for quick explanation.

> BusinessViewAnnotationProcessor doesn't consider annotation index
> -----------------------------------------------------------------
>
>                 Key: WFLY-4821
>                 URL: https://issues.jboss.org/browse/WFLY-4821
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 10.0.0.Alpha3
>            Reporter: Jan Martiska
>            Assignee: Stuart Douglas
>
> When parsing EJB view-related annotations (@Local, @Remote), BusinessViewAnnotationProcessor accesses these annotations only via reflection. Therefore, when processing a deployment which imports EJB beans from another module using an annotation index, BusinessViewAnnotationProcessor doesn't see them. Consequently, no @Local or @Remote interfaces are found, therefore all implemented interfaces are treated as @Local - EJB 3.2 4.9.7:
> ??if the bean class is annotated with neither the Local nor the Remote annotation, all implemented interfaces (excluding the interfaces listed above) are assumed to be local business interfaces of the bean??
> @Remote interfaces are therefore not available remotely.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list