-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 15, 2000 6:48 AM
To: [EMAIL PROTECTED]; marc fleury
Subject: Re: FW: [jBoss-Dev] Commenting jboss.jcml




I'm not sure I understand all of your problem,
but you might look at the ModelMBean as well, its set up with descriptors
so that you can define operations and get/sets that actuall call methods on
other objects to satisfy them.  Its real code so you can subclass and
override what you don't like.
Heather

"marc fleury" <[EMAIL PROTECTED]> on 09/14/2000 02:09:08 PM

To:   "jmx-experts@Sun. COM" <[EMAIL PROTECTED]>
cc:   "Aaron Mulder" <[EMAIL PROTECTED]>
Subject:  FW: [jBoss-Dev] Commenting jboss.jcml



It seems we already have a solution :)

marc


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard �berg
Sent: Thursday, September 14, 2000 7:00 AM
To: jBoss Developer
Subject: Re: [jBoss-Dev] Commenting jboss.jcml


Aaron Mulder wrote:
>         The jboss.jcml configuration entries for Minerva are getting
> pretty large.  I wonder if it would be useful to add a comment hook where
> a MBean could (optionally) declare a function
>         getDescription(String parameter)
> and if it's present the JCML writer could add inline XML comments
> describing the parameters.  Than again, that may just make the whole
thing
> even more muddled.  Thoughts?

Well, if you make a dynamic MBean instead of a standard MBean (i.e.
implement javax.management.DynamicMBean) you can provide your own
MBeanInfo which can contain this. Then we can easily change the
Configuration MBean to add comments to the generated jcml :-)

/Rickard

--
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com








Reply via email to