[jboss-user] [Microcontainer] - Re: How to expose attribute object as JMX

2008-06-19 Thread alesj
Create a simple wrapper/delegate around MsgServerMgmnt interface, where all invocations delegate the work to MsgServer::getMsgServerMgmnt attribute. And then simply do @JMX as you already know. ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4159188#4159188

[jboss-user] [Microcontainer] - Re: How to expose attribute object as JMX

2008-06-19 Thread timfox
alesj wrote : Create a simple wrapper/delegate around MsgServerMgmnt interface, where all invocations delegate the work to MsgServer::getMsgServerMgmnt attribute. | And then simply do @JMX as you already know. | ;-) Yeah, I thought of this, but it seems pretty ugly. Would be nice if MC

[jboss-user] [Microcontainer] - Re: How to expose attribute object as JMX

2008-06-19 Thread alesj
timfox wrote : | Would be nice if MC could do this automatically - an ability to use the JMX annotation on an attribute too. Sounds reasonable to me. Open a design discussion on 'Design Microcontainer' forum, getting Adrian and others involved as well. View the original post :