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

Stuart Douglas (JIRA) issues at jboss.org
Tue Jun 23 08:05:03 EDT 2015


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

Stuart Douglas commented on WFLY-4821:
--------------------------------------

This sounds like you have just forgotten to add a dependency on the EJB API to your module, the current code should work fine.

> 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