- 
        1. Re: Runtime changes of cache config elementsbrian.stansberry Sep 13, 2006 12:18 PM (in response to manik)You might want to ping Scott/Adrian to see how this ties in with what they are doing. They have a concept of a ManagedObject that's meant to describe this kind of thing. I'm sure tools like JBoss ON are going to want a consistent API for discovering what features are runtime changeable. 
- 
        2. Re: Runtime changes of cache config elementsstarksm64 Sep 13, 2006 6:46 PM (in response to manik)The api is associated with the profile service and is rooted at the org.jboss.deployers.spi.management.ManagementView. There is simple org.jboss.deployers.spi.management.ManagedObject representation of a bean's management interface. How the ManagedObject is obtained for a component is a function of the deployer associated with the component. So far we have not gotten to how the deployers extract the ManagedObject from a deployment metadata. We'll have to define annotations and schemas for this. 
 Adrian did create a org.jboss.mx.mxbean.MXBean prototype that illustrates some concepts of the jdk6 MXBean:
 http://download.java.net/jdk6/docs/api/javax/management/MXBean.html
 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89432
- 
        3. Re: Runtime changes of cache config elementsmanik Sep 15, 2006 11:10 AM (in response to manik)This just seems like a mechanism of how I would expose setters to allow mutation of certain configs via JMX or the profile service. 
 The purpose of this thread is more to talk about *how* I plan to enforce such mutability internally (since programmatically someone can still get a hold of the Configuration object and change it), as well as a discussion on which elements should be mutable.
- 
        4. Re: Runtime changes of cache config elementsstarksm64 Sep 15, 2006 12:07 PM (in response to manik)Yes, that is correct. You have to define your management interface and then expose it so that the managment layer understands it. 
- 
        5. Re: Runtime changes of cache config elementsben.wang Sep 17, 2006 6:05 AM (in response to manik)Manik, should useInterceptorMBean be runtime configurable as well just for the management purpose? Most of the time, I may want to turn it off for performance but use it for periodic monitoring. 
- 
        6. Re: Runtime changes of cache config elementsmanik Sep 21, 2006 6:49 AM (in response to manik)I'm ok with this being a RT variable, but then it should not be injected into the inteceptors when the chain is configured, but should be referenced directly from the Configuration. 
 You also suggested changing isUseInterceptorMBean to isUseMBean. +1 to both, are you going to make the change together?
 
     
     
    