Hi there,

comments inside.

2011/1/25 Eric Charles <[email protected]>:
> Hi Norman,
>
> Tks for the link. Yes, it does what i was looking for (documentation in
> jconsole).
>
> - They are talking about jdk6. Is it available on jdk5?

StandardMBean is in jdk5...

> - I find the implementation tedious (getParameterName(MBeanOperationInfo op,
> MBeanParameterInfo param, int sequence) and would prefer simple annotations
> on each management method.

Welcome the the world of JMX. JMX is unfortunally very poorly designed
in respect to this stuff.

> - There's the spring annotations, but we would need to depend many projects
> on spring. Or we would need to reassemble all management interfaces in a
> project...

Thats the problem and JMX via annotations will not come in the near future. See:

http://weblogs.java.net/blog/2009/06/16/jsr-255-jmx-api-20-postponed


>
> tks,
> -eric
>
>
> On 25/01/2011 11:41, Norman Maurer wrote:
>>
>> Hi there,
>>
>> its possible if the JMX implementation extend StandardMBean.
>>
>> See:
>> http://blogs.sun.com/jmxetc/entry/javax_management_standardmbean_when_and
>>
>> Bye,
>> Norman
>>
>>
>>
>> 2011/1/25 Eric Charles<[email protected]>:
>>>
>>> Hi,
>>>
>>> I never did that, nor googled to find more, but is there a way to have
>>> some
>>> information displayed on the JMX clients like the description of the
>>> methods' params?
>>> This would help the management of the James Server.
>>> So  the question is more "Is it welcome, and how to do it?"
>>> Tks,
>>>
>>> Eric
>>>
>>>
>>> ---------------------------------------------------------------------


Bye,
Norman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to