oh, duh. I found a book that explained how to do this. I needed to register an 
MBean instance for a javax.management.timer.Timer, invoke the start method on 
the MBean, invoke the addNotification method, etc. And I don't need the 
timer-service.xml file.

I've never read up on JMX; perhaps I should have done so.

As for why it worked without explicitly registering an MBean when using J2SE 
1.5, I cannot say. Perhaps when using the code from my previous post, I never 
really created an object in the container and was only manipulating a local 
object.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925980#3925980

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925980


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to