MBeans definition and registering using annotations only
Is it possible to define and register a MBean using annotations only?
I think that the @MBean, @ManagedOperation, etc. used to be in the JDK 7 but for some reason - they're not (http://docs.oracle.com/javase/7/docs/api/javax/management/package-summar...).
Is there any Glassfish proprietary way of annotating MBeans, exposing their operations and attributes and registering it so there is no need for the developer to invoke any of this:
ManagementFactory.getPlatformMBeanServer().registerMBean(myBean, new ObjectName(myMBeanName));
Are there any information about JMX 2.0 progress?
Will it ever arrive?
Thanks in advance,