wangpeng138375 / pojo-mbean

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

Use @MBean parameters to define domain, type and name #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Consider using the @MBean annotation could be used for specifying domain, type 
and possibly name, e.g.

@MBean(domain="com.loremipsum", type="org.softee.management.ProcessingMbean", 
name="MyMBean")

... resulting in the ObjectName:

"com.loremipsum:name=MyMBean,type=org.softee.management.ProcessingMbean"

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

GoogleCodeExporter commented 8 years ago

Original comment by morten.h...@gmail.com on 9 Jul 2011 at 2:43