As you have already pointed out, how an MBean is supposed to operate varies greatly 
from one MBean to the other.

The more "dynamic" an MBean behaves, the more difficult is to code it.

In most cases MBean are quite static, i.e. they go:

ctor
setters
create()
start()
stop()
destroy()

without even allowing an MBean to be re-started. You can always re-deploy it, of 
course (which has more or less the same effect).

Some MBeans allow start()-stop()-change attributes-start()-stop() cycles, in which 
case you can achieve the runtime dynamic reconfiguration of the MBean.

In some extreme cases the MBean could be coded to restart itself upon configuration 
changes (i.e. attribute sets). But thats just to constly to code and the same result 
can be achieved with the must easier method described above, i.e. explicitly stoping 
and reconfiguring the MBean.

Regards
/Dimitris



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

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


-------------------------------------------------------
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

Reply via email to