Actually I see no such restriction in the spec - only that remote interfaces are not included in the set of bean types.
Note that we already agreed (WELD-364) that observer methods may be methods of a remote interface. So theoretically the lookup is ok and the bean returned should only have one bean type: java.lang.Object. Of course the question is whether it makes sense to have such a useless bean.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Actually I see no such restriction in the spec - only that remote interfaces are not included in the set of bean types.
Note that we already agreed (
WELD-364) that observer methods may be methods of a remote interface. So theoretically the lookup is ok and the bean returned should only have one bean type: java.lang.Object. Of course the question is whether it makes sense to have such a useless bean.