[jboss-jira] [JBoss JIRA] (WFLY-4821) BusinessViewAnnotationProcessor doesn't consider annotation index
Jan Martiska (JIRA)
issues at jboss.org
Tue Jun 23 07:58:04 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082682#comment-13082682 ]
Jan Martiska commented on WFLY-4821:
------------------------------------
My suggestion for fix: https://github.com/wildfly/wildfly/pull/7641
[~swd847] could you take a look?
> 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