[
https://jira.jboss.org/browse/JBMETA-117?page=com.atlassian.jira.plugin.s...
]
Adam Warski commented on JBMETA-117:
------------------------------------
Starting from AS 6 CR1, I am getting this exception when deploying a bean which inherits
from a class which implements an interface annotated with @Local. That is:
class MyBean extends AbstractBean
class AbstractBean implements LocalMyBean
@Local interface LocalMyBean
All worked fine prior to CR1.
If I add an explicit @Local to the main class (MyBean), the error goes away.
Prohibit bindings if there isn't a corresponding business
interface
-------------------------------------------------------------------
Key: JBMETA-117
URL:
https://jira.jboss.org/browse/JBMETA-117
Project: JBoss Metadata
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Andrew Rubinger
Assignee: Andrew Rubinger
Fix For: 1.0.0.CR4
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.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira