[
https://jira.jboss.org/jira/browse/JBMETA-117?page=com.atlassian.jira.plu...
]
Andrew Lee Rubinger commented on JBMETA-117:
--------------------------------------------
Error looks like:
22:16:01,648 INFO [BindingsWithNoAssociatedBusinessInterfaceTestCase] Obtained expected
message: Validation has failed due to the following ValidationException(s) raised:
* An @RemoteBinding was defined on EJB
TestBeanWithRemoteBindingButNoRemoteBusinessInterface, but this bean has no remote
business interfaces defined. [JBMETA-117]
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
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