You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org> on 2010/04/15 16:32:51 UTC
[jira] Updated: (OWB-355) OpenEjbBean should look for @Remove
methods
[ https://issues.apache.org/jira/browse/OWB-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Louis MONTEIRO updated OWB-355:
------------------------------------
Attachment: OWB-355.patch
Here is the proposed patch.
IMHO, we should deal with the retainIfException parameter of the @Remove annotation.
For that, we have different solutions:
* only add a method to the list when the retainIfException is false (or omitted)
* change the org.apache.webbeans.ejb.common.proxy.EjbBeanProxyHandler.checkEjbRemoveMethod(Method) method and check the retainIfException attribute too.
> OpenEjbBean should look for @Remove methods
> -------------------------------------------
>
> Key: OWB-355
> URL: https://issues.apache.org/jira/browse/OWB-355
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Java EE Integration
> Environment: OpenWebBeans in OpenEJB
> Reporter: Jean-Louis MONTEIRO
> Assignee: Gurkan Erdogdu
> Fix For: 1.0.0
>
> Attachments: OWB-355.patch
>
>
> OpenEjbBean doesn't take care of @Remove methods so when deploying a stateful EJB we get a NullPointerException.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira