JDK-4716807 : RFE: Support key=* wildcard in ObjectName
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2002-07-18
  • Updated: 2017-05-16
  • Resolved: 2005-04-30
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 b35Fixed
Related Reports
Relates :  
Description
* Support key=* wildcard in ObjectName
  Currently can say "domain:key1=value1,*" to match MBeans that
  have key1=value1 in their name, but not "domain:key1=*" to match
  MBeans that have key1 in their name.  People have asked for this
  functionality.  Note only the exact wildcard "*" would be supported.

Comments
EVALUATION Requires parallel changes between ObjectName and the MBean server. ###@###.### 2002-07-19 Delayed to next release. too risky to implements this for current maintenance release. ###@###.### 2002-08-22 It might be worth extending the functionality so that you can put a wildcard anywhere in a value, e.g. say key=a*b as well as just plain key=*. We anticipated this in the ObjectName spec by saying that * and ? must be escaped with \ even if they appear inside quotes. So for example you could say dn="a/b/*" to match all names that have a dn key with a value that begins with "a/b/". ###@###.### 2004-11-08 10:23:31 GMT
08-11-2004

WORK AROUND Put a "type=whatever" in every ObjectName.
01-09-2004

PUBLIC COMMENTS .
01-09-2004