On Tue, 2003-12-16 at 13:00, Sacha Labourey wrote: > Yes, go on the jmx-console, find your entity bean container Mbean, and you > will find an invalidate operation. You can call it through jmx. > > Cheers, > > sacha >
- In the jmx-console I have the invalidate() methods for a single key or a list of keys as parameters. But I don't see a invalidateAll()... - Can I access to this JMX functions by a programatic way? How? Just a few hints for start... - BTW, in the read-write entity bean, I should put only the <invalidation-group-name> element (jboss.xml) and it's not needed the <cache-invalidation>? The last one is only for the read-only entity bean, right? Regards, Pedro Salazar. > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Pedro Salazar > > Sent: mardi, 16. d�cembre 2003 13:11 > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] invalidate all entity beans instances > > from cache (in cluster) > > > > Greetings, > > > > a week ago I asked about invalidating a entity bean instance > > from cache. > > Using the <cache-invalidation>/<invalidation-group-name> I > > could manage > > how to invalidate a instance by updating the RW and it invalidates the > > RO entity bean. > > > > Now, I would like to invalidate all the entity beans instances from > > cache. I intend to update a big set of records through JDBC, > > and I would > > reflect it on all entity beans. > > > > I'm searching for something so trivial like this procedure > > for weblogic: > > weblogic.ejb.CachingHome myCache = (weblogic.ejb.CachingHome)myHome; > > myCache.invalidateAll(); > > > > Is there something like this on jboss? > > > > regards, > > Pedro Salazar. > > -- > > -PS -- -PS ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
