JDK-5072268 : Suggested API changes for JMX 2.0
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2004-07-08
  • Updated: 2016-12-15
  • Resolved: 2013-07-31
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
This is an umbrella bug that groups together the various Requests For Enhancement that have been logged against the JMX API and the JMX Remote API.  These should all be considered for inclusion in the next versions of these APIs: version 1.3 to be included in J2SE 6 (Mustang), and version 2.0 to be included in J2SE 7 (Dolphin).  Version 2.0 is being defined by JSR 255.

The bugs are all linked to from the See Also field.  Below, they are grouped into categories.

Bugs with an asterisk (*) after the bug number will be addressed in Mustang (Java SE 6).  Other bugs will be addressed Java SE 7 at the earliest. Bugs marked with a + have already been integrated in Java SE 7.

NOTIFICATIONS
4506105*NotificationBroadcasterSupport should have a constructor with MBeanNotificationInfo[]
4661545*NotificationBroadcasterSupport should have a constructor taking a java.util.concurrent.Executor
4718351+Listen to a set of MBeans in a single operation [subsumed by new Event Service]
5106721*Ability to intercept addNotificationListener requests and outgoing notifications
5108776+Add reliable event handling to the JMX API
6252526*Create subclass of javax.management.StandardMBean that is a NotificationEmitter
6440827+StandardEmitter subclasses could be allowed to use "this" as their NotificationEmitter

OBJECTNAME
4716807*Support key=* wildcard in ObjectName
5036680*ObjectName should implement Comparable<ObjectName>
4780400*javax.management.MBeanServerDelegate should have a public final static ObjectName which would be the default ObjectName of the delegate

DYNAMIC MBEANS
5092502+Add methods for class interrogation to DynamicMBean

MODEL MBEANS
5043245*Attribute type check is too restrictive in RequiredModelMBean.getAttribute()
5046777 Should be able to query ModelMBean impl for support of optional features
5104947*Clarify whether ModelMBeanInfoSupport.clone is deep or shallow
6175387*Add new 'OnUnregister' persistPolicy value to Model MBean descriptor
6339571 RequiredModelMBean: don't require a ModelMBeanOperationInfo for every ModelMBeanAttributeInfo

OPEN MBEANS
5045358*Open MBeans cannot reference primitive types or arrays thereof
5072004*Better support for schema evolution in CompositeData and CompositeType
5100192*Specify that TabularData[Support].keySet() returns Set<List<Object>>
6175517*Standardize a general-purpose MXBean framework

MLETS
4796780*MLetContent class should be public

MONITORS
4718295 Expose Monitor functionality through protected methods for subclassing
6222961*Monitor service should support complex types

QUERIES
6602310+Extensions to Query API for JMX 2.0
5072174*Add Query.isInstanceOf

JMX REMOTE API
5072267 Should have a way to communicate client locale to server
5072476+Support cascaded (federated) MBean Servers
6231888*JMXConnector should implement Closeable

ANNOTATIONS
4853303+Annotations to define MBean*Info descriptions and MBeanOperationInfo impact
6323980+Annotations to simplify MBean development

MBEANINFO
4786777*MBeanInfo could have a way to mark attribute or operation as "disabled"
6204469*Move Descriptor support from ModelMBean*Info to MBean*Info
6602699 support for async notification of MBeanInfo update
6635499 Provide a method to localize the descriptions in an MBeanInfo

MISCELLANEOUS
4847959*JMX API should use generics where applicable
5080083*ObjectInstance and Attribute should define toString()
5108739+Support virtual MBeans
5108781 Add standard types for statistics
6177524*MBeanServerInvocationHandler should not forward Object methods to proxied MBean
6190628*Standard MBeans should support covariant return types in MBean interfaces
6299231+Add support for named MBean Servers
###@###.### 2005-04-08 13:01:46 GMT
###@###.### 2005-07-20 10:27:26 GMT

Comments
JSR 255 was withdrawn.
31-07-2013

EVALUATION JSR 255 integration has been deferred to Java SE 8.
17-03-2010

EVALUATION The following changes have been removed. The reasons are explained in the individual bug reports. Removal of a change does not necessarily mean we don't think it would be useful, though it might; in many cases it is simply a judgement on resource allocation. 4718350 Wildcard support in notification filter [subsumed by new QueryNotificationFilter] 5108792 Add abstract base class to make coding DynamicMBeans easier 4718269 Model MBean should be extended to support EJB handles 4718298 ModelMBeanInfo.getConstructor(String) could be added 6176837 TabularDataSupport.entrySet() should prevent calls to Map.Entry.setValue on returned set elements 5031385 m-let file format should be XML 6323896 Support aggregation of multiple MBean Servers 6323795 Metadata repository for JMX API 5108724 Add support for persistence to JMX API 6323764 Add support for client sessions to JMX API
17-09-2008

EVALUATION The following changes have been removed. See the corresponding bugs for details as to why they will not be implemented. 4776093 Add new ModelMBeanParameterInfo class 5072197 Add OpenMBeanNotificationInfo 5090566 TabularDataSupport.put(key,value) doesnt respect Map.put(key,value)
20-06-2006

EVALUATION As detailed in the Description, some of these changes will go into Mustang, others into Dolphin.
14-09-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
30-09-2004

PUBLIC COMMENTS .
30-09-2004

EVALUATION Lots of stuff, not sure if it can all be standardized for Mustang. ###@###.### 2004-07-08
08-07-2004