[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1025) @Local and @Remote on a bean class must have values

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Aug 27 04:19:18 EDT 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-1025?page=all ]

Carlo de Wolf updated EJBTHREE-1025:
------------------------------------

    Description: 
>From the API doc:
"When used on the bean class, declares the local business interface(s) for a session bean. When used on an interface, designates that interface as a local business interface. In this case, no value() is provided."

Thus the following is an illegal construct:

@Stateless
@Local
@Remote
public class OrderServiceBean implements OrderService {...}

  was:
The following is an illegal construct:

@Stateless
@Local
@Remote
public class OrderServiceBean implements OrderService {...}

There is a test for this construct in Branch_4_2.


> @Local and @Remote on a bean class must have values
> ---------------------------------------------------
>
>                 Key: EJBTHREE-1025
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1025
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 4.2.0 GA
>            Reporter: Carlo de Wolf
>         Assigned To: William DeCoste
>             Fix For: EJB 3.0 RC11 - FD, AS 4.2.2.GA
>
>
> From the API doc:
> "When used on the bean class, declares the local business interface(s) for a session bean. When used on an interface, designates that interface as a local business interface. In this case, no value() is provided."
> Thus the following is an illegal construct:
> @Stateless
> @Local
> @Remote
> public class OrderServiceBean implements OrderService {...}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list