You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Los Morales <mo...@hotmail.com> on 2009/01/12 18:28:37 UTC

register/unregister mbeans dynamically via scheduler




Hi,



I'm running into a little dilemma where I have scheduled services that
I would like exposed in a jmx client such as JConsole. These services
can be created and destroyed at anytime. For example, say I have a
Quartz service (called QuartzBean) that will start at every :30, run,
and then stop (destroyed) at every :00. The service will expose start()
and stop() methods via JMX. So in JConsole, for every :00 through :30 I
will NOT see QuartzBean but from :30 through :00 I will see QuartzBean
and hence able to invoke it's start() and stop() methods. How does this work with commons modeler (if possible)?  Thanks.



-los


_________________________________________________________________
Windows Liveā„¢ HotmailĀ®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009