[
https://jira.jboss.org/jira/browse/JBMETA-117?page=com.atlassian.jira.plu...
]
Andrew Lee Rubinger updated JBMETA-117:
---------------------------------------
Attachment: JBMETA-117_ProcessorFixes.patch
@see Forum discussion for why the processor patch fixes aren't enough (don't
account for @Remote or @Local on the interface, only works when applied to the impl
class)
Prohibit bindings if there isn't a corresponding business
interface
-------------------------------------------------------------------
Key: JBMETA-117
URL:
https://jira.jboss.org/jira/browse/JBMETA-117
Project: JBoss Metadata
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 1.0.0.CR2
Attachments: JBMETA-117_ProcessorFixes.patch, JBMETA-117_UnitTests.patch
The following 2 constructs should throw an informative error to the bean provider:
@Stateless
@Remote(MyRemote.class)
@LocalBinding(jndiBinding="Whatever") // There's no local business
interface
public class MyBean implements MyRemote{...}
@Stateless
@Local(MyLocal.class)
@RemoteBinding(jndiBinding="Whatever") // There's no remote business
interface
public class MyBean implements MyLocal{...}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira