[jboss-jira] [JBoss JIRA] Created: (JBMETA-117) Prohibit bindings is there isn't a corresponding business interface

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Sat Oct 11 22:17:20 EDT 2008


Prohibit bindings is 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

        



More information about the jboss-jira mailing list