As
somebody point me on (defunct) Forums, calling a method that simply throws
an RunTimeException should unvalidate the CMP Bean.
<spec cersion="2.0" chapter="18.6">
In EJB 2.0 and 1.1, all non-application exceptions thrown by the instance result in the rollback
of the transaction in which the instance executed, and in discarding the instance.
</spec>
Having
an MBean could be simpler anyway.
With
that feature inside the container, would you find useful to have something like
<invalidation-target> a la Seppuku ? https://sourceforge.net/tracker/?func=detail&aid=502757&group_id=22866&atid=376688
Vincent
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of marc fleury
Sent: jeudi 17 janvier 2002 19:16
To: [EMAIL PROTECTED]; 'Bj�rn Blum'; 'JBOSS DEV'
Subject: RE: [JBoss-dev] Destroying cmp BEAN instancesBill didn't you say you wanted to tackle that problem?Seems like I won't be able to finish the deployer so you have 10 days :)marcf-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Burke
Sent: Thursday, January 17, 2002 7:08 AM
To: 'Bj�rn Blum'; 'JBOSS DEV'
Subject: RE: [JBoss-dev] Destroying cmp BEAN instancesYou mean clear the cache? The caches are not exposed through mbeans, so there is no way to do this. Please log a feature request at sourceforge-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bj�rn Blum
Sent: Thursday, January 17, 2002 3:51 AM
To: JBOSS DEV
Subject: [JBoss-dev] Destroying cmp BEAN instancesHello,may somebody tell me, how i can force the container of the app server to destroy some instances of cmp beans? (Sorry, if this question is foolish, but I'm new in developing with EJBs and JBOSS)thanx bjoern
