Hi Andreas,

JMX1.1 Page 31 StandardMBeans/Lexical Design Patterns/Attributes

"If a class definition contains a matching pair of getAttributeName and
setAttributeName methods that take and return the same type, these
methods define a read-write attribute called AttributeName."

This only applies to Standard MBeans.

Both Juha and I think this is stupid. It should use the javabean
or java coding standard "attributeName".

I think whoever originally wrote JMX was lazy and just stripped the
get/set/is and then it got written into the spec.
There are quite a few examples where the spec has been edited
to match the RI's implementation :-)

Regards,
Adrian

>From: "Andreas Schaefer" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: [JBoss-dev] JSR-77 and JMX
>Date: Thu, 15 Aug 2002 09:28:43 -0700
>
>Hi Geeks
>
>Just read a post about the attribute names used in the
>MEJB. So I was wondering if the fact that attributes in
>JBossMX has to start with an uppercase character are
>against the JMX spec. or if the spec. requires so.
>
>It is my opinion that MEJB is JMX based and therefore
>the uppercase / lowercase decision is made on JMX
>spec. because the JSR-77 spec. is model and not an
>implementation (see OBJECT_NAME instead of
>JMX ObjectName).
>
>Have fun
>
>xxxxxxxxxxxxxxxxx
>Andreas Schaefer
>Senior Consultant
>JBoss Group, LLC
>xxxxxxxxxxxxxxxxx
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: OSDN - Tired of that same old
>cell phone?  Get a new here for FREE!
>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to