On 4.3.2015 02:09, Eamonn McManus wrote:
Could you explain what you mean by this, regarding the annotations
that were already agreed on by the JSR 255 Expert Group:
* Smaller scope compared to the proposed solution
* Conceptually in pre JDK7 era
I have a number of other comments, but procedurally I'm not sure what
the precedent is for summarily discarding work previously done in the
JCP on the same subject. I'd certainly have expected this JEP to start
from that work, rather than proposing a starting point that isn't even
correct Java.
I'll get back to the reasons shortly. But, in the meantime, would you
care to elaborate what you find to be not "even correct Java"?
-JB-
Éamonn McManus, former JSR 255 Spec Lead
2015-03-03 8:27 GMT-08:00 Jaroslav Bachorik <[email protected]>:
Hi all,
Please review this draft JEP for JMX Specific Annotations for Registration of
Managed Resources:
https://bugs.openjdk.java.net/browse/JDK-8044507
Background:
Current mechanism of defining an MBean requires to provide an MBean interface
and its implementation. The interface and the implementation must conform to
the strict naming and visibility rules in order for the introspection to be
able to bind them.
At least the same level of verbosity is required when adding an MBeanInfo to
generate MBean metadata.
All this leads to a rather verbose code containing a lot of repeating
boilerplate parts even for the most simple MBean registrations.
This JEP proposes to add a set of annotations for registration and
configuration of manageable resources (in other word 'MBeans'). These
annotations will be used to generate all the metadata necessary for a resources
to be accepted by the current JMX system.
Thanks,
-JB-