Seems to me that would be considered re-entrant.
Dave Wolf
Internet Applications Division
Sybase
----- Original Message -----
From: "Thomas Hertz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 11:02 AM
Subject: remove() yourself allowed?
> Hi,
>
> is it allowed by the spec to perform a ctx.getEjbObject().remove()
> if you are inside a bean method, which means that you
> actually kill yourself from within the same instance?
>
> code sniplet:
> ---------------------------------------------
> public class TestBeanEJB ...
> {
> public void methodA()
> {
> ejbContext.getEJBObject().remove();
> }
> public void ejbRemove()
> {
> //yop, remove
> }
> }
> ---------------------------------------------
>
> I have not found any information about that.
>
> Any suggestions?
>
>
> /Thomas
>
> --
>
> | /Thomas Hertz | [y] hybris GmbH | Software Engineering |
> | [EMAIL PROTECTED] | Schwere-Reiter-Strasse 35 | tel +49 89 306697- 0 |
> | www.hybris.de | Haus 16, D-80797 Muenchen | fax +49 89 306697-99 |
> | pgp fingerprint: D070 5D86 BE2D C3AF E2CC D2D8 C29A 7F68 7407 629E |
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".