[jboss-user] [Management, JMX/JBoss] - Changing scheduled tasks programmatically

JReifsnyder do-not-reply at jboss.com
Wed Jan 21 15:01:44 EST 2009


Hi there,
I have created a scheduled task and can manage it happily through the JMX console, however I have been unable to get to it programmatically. I have tried setting it up as an MBean (as was recommended somewhere else on this site) and cannot access it from other MBeans. I can get the MBeanServer object from JBoss, but still can't figure out how to edit params for my scheduled task.

I would like to be able to change the interval of the task on the fly, from my app. How do I get a handle for the scheduled task? Has anyone done this?

Thanks!
JReifsnyder

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

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



More information about the jboss-user mailing list