tonva / pojo-mbean

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

Create sample annotated MBeans to show off various annotation techniques/options #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To serve as examples, we should create a number of "demo" MBeans that contain 
all variations of permitted annotations:

@MBean (with and without specification of domain, type and name)
@Property (on getters, is'ers, setters and fields)
@Operation (with and without impact attribute)
@Parameter (on @Operation)

Also, various techniques for extending/overriding annotated beans, including: 
adding MBean annotations, overriding methods and removing MBean annotations.

The MBeans should probably reside in src/test/java, and each should have a 
matching unit test alongside the MBean.

MBeans that are generally usable should, however, be located in src/main/java 
to allow use and extension by API client users.

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

GoogleCodeExporter commented 9 years ago
The above mentioned MBean sources could also serve as (validated) documentation 
examples in the Wiki

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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