You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2006/12/28 07:14:21 UTC

[jira] Reopened: (OPENEJB-235) javax.ejb.Local

     [ http://issues.apache.org/jira/browse/OPENEJB-235?page=all ]

David Blevins reopened OPENEJB-235:
-----------------------------------

             
@Local or @Remote is allowed to be used on the bean class with no corresponding interface class name provided these conditions are met:

  - The bean has exactly one business interface
  - That business interface is not annotated contrarily (@Remote on the bean while interfaces is annotated @Local, and vice versa)
  - The bean cannot be annotated both @Local and @Remote (can use one or the other, not both)


> javax.ejb.Local
> ---------------
>
>                 Key: OPENEJB-235
>                 URL: http://issues.apache.org/jira/browse/OPENEJB-235
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: deployment, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>         Assigned To: David Blevins
>             Fix For: 3.0
>
>
> @Target(ElementType.TYPE)
> @Retention(RetentionPolicy.RUNTIME)
> public @interface Local {
>     Class[] value() default {};
> }

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