On 2002.06.11 00:31:28 -0400 Hans Gilde wrote:
> It seems to me that there's a bug in the Standard MBean system: in a 
> standard mbean, methods getProperty/setProperty result in a property
> named 
> "Property", not "property". I believe the latter conforms to the
> JavaBeans 
> standard. In other words, an mbean class with those methods would have to
> be 
> declared as follows:
> 
> <mbean code="monitor.JBossMonitor" name="hpg.test:service=monitor">
>       <attribute name="Property">abc</attribute>
> </mbean>
> 
> rather than:
> 
> <mbean code="monitor.JBossMonitor" name="hpg.test:service=monitor">
>       <attribute name="property">abc</attribute>
> </mbean>
> 
> because the later will result in a deployment exception.
> 
> This looks like it could be fixed within the org.jboss.mx packages, which
> 
> I'll happily do, but I'm wondering if it's actually a bug.

It's not a bug. jmx specifies get/setProperty correspond to the attribute
Property rather than property.

david jencks
> 
> Hans Gilde
> 
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail. 
> http://www.hotmail.com
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - 
>http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to