mioz2077 / pojo-mbean

Automatically exported from code.google.com/p/pojo-mbean
0 stars 0 forks source link

Consider using "objectName" atrtribute on @MBean #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Rather than using separate "domain", "type" and "name" attributes on the @MBean 
annotation, consider having a single "objectName" attribute containing the 
entire ObjectName.

This would allow adding alternate attributes, such as "application", similar to 
what is available in Spring, see 
http://static.springsource.com/projects/instrumentation/instrument/html/ch05.htm
l#exportexample

Original issue reported on code.google.com by morten.h...@gmail.com on 9 Jul 2011 at 5:21

GoogleCodeExporter commented 8 years ago

Original comment by morten.h...@gmail.com on 9 Jul 2011 at 5:22

GoogleCodeExporter commented 8 years ago
For inspiration, refer to 
http://static.springsource.org/spring/docs/3.1.0.M2/javadoc-api/org/springframew
ork/jmx/export/annotation/package-summary.html

Original comment by morten.h...@gmail.com on 9 Jul 2011 at 5:36

GoogleCodeExporter commented 8 years ago

Original comment by morten.h...@gmail.com on 9 Jul 2011 at 5:41

GoogleCodeExporter commented 8 years ago
Fixed in r41

Original comment by morten.h...@gmail.com on 9 Jul 2011 at 7:29