Hello,
I am kind of new to this so I was hoping that you guys could help me out..
I want to flush the cached data of all entity beans in my application when a specific
event occures..
I have only been able to get to the following code which only flushes data of one
entity bean:
MBeanServer server = MBeanServerLocator.locateJBoss();
ObjectName container = new
ObjectName("jboss.j2ee:service=EJB,jndiName=myBean");
server.invoke(container, "flushCache", null, null);
How can I create an ObjectName to flush all data that has to do with my application
(all beans in my .ear)? What will the string given to the constructor look like?
Thanks..
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845973#3845973
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845973
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user