JDK-5072174 : Add Query.isInstanceOf
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-07-08
  • Updated: 2017-05-16
  • Resolved: 2005-04-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b31Fixed
Related Reports
Relates :  
Description
A new method javax.management.Query.isInstanceOf("className") would return a QueryExp where apply(objectName) returns mbeanServer.isInstanceOf(objectName, "className").  This would allow queries such as "all MBeans that implement NotificationBroadcaster".  As for other queries, a non-public serializable class would need to be defined to represent the query.

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

PUBLIC COMMENTS Query that returns true if an MBean is an instance of a named class or interface.
01-09-2004

EVALUATION Straightforward and useful. ###@###.### 2004-07-08
08-07-2004