mioz2077 / pojo-mbean

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

Change annotation names in line with JMX 2.0 / JSR 255 #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
@Property -> @ManagedAttribute
@Operation -> @ManagedOperation (impact parameter seems OK)

JMX 2.0 @Description seems more complex than simply continuing with using an 
annotation parameter, but for forward compatibility, I could be swayed...

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

GoogleCodeExporter commented 8 years ago
The JMX 2.0 @DescriptorFields method annotation is nowhere near as declarative 
or elegant as pojo-mbean @Parameter parameter annotation:

@DescriptorFields({"p1=factor1","p2=factor2"})

vs

@Parameter(name="factor1")

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

GoogleCodeExporter commented 8 years ago
Changing priority to High, since we need to get this done before we have too 
many sample files that would need refactoring, especially as refactoring MBean 
documentation source samples is going to be a royal pain...

Original comment by morten.h...@gmail.com on 9 Jul 2011 at 12:40

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago

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