tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENEJB-1039) Remote Interface explicitly declared is added to local interface list when strict option is not set
Date Thu, 11 Jun 2009 12:59:07 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated OPENEJB-1039:
--------------------------

    Attachment: OpenEJB-1039.patch

With David's response for the quesion, see url 
http://mail-archives.apache.org/mod_mbox/openejb-dev/200906.mbox/%3CC664FAFC-C86A-4E83-8B99-8D4D93C136B2@visi.com%3E
I suppose that the strict option means :
When the value of the option is set false, so OpenEJB will automatically set an interface
that the EJB bean implements as a local view. If it does, if those interface are explicitly
marked as Remote or Local, OpenEJB should not do this enhancement. I try to create a proposed
patch, please help to review it. 
Thanks!

> Remote Interface explicitly declared is added to local interface list when strict option
is not set
> ---------------------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1039
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1039
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: ejb3 simplified
>    Affects Versions: (trunk/openejb3)
>         Environment: Windows XP
> JDK 1.5
>            Reporter: Ivan
>         Attachments: OpenEJB-1039.patch
>
>
> With the latest openejb 3.1.1 snapshot, I found if the env property openejb.strict.interface.declaration
is not set to true, both local and remote interfaces are added to SessionBeanInfo.businessLocal.
>    Here is bean structure:
>   
>    1. interface LocalInterface {}
>    2. interface RemoveInterface {}
>    3. class MyBeanBase implements LocalInterface, RemoteInterface {}
>    4  @Stateful
>        @Remote({RemoteInterface.class})
>        @Local({LocalInterface.class})
>        class MyBean extends MyBaseBean implements LocalInterface, RemoteInterface {}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message