United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4716807 RFE: Support key=* wildcard in ObjectName
JDK-4716807 : RFE: Support key=* wildcard in ObjectName

Details
Type:
Enhancement
Submit Date:
2002-07-18
Status:
Resolved
Updated Date:
2005-04-30
Project Name:
JDK
Resolved Date:
2005-04-30
Component:
core-svc
OS:
generic
Sub-Component:
javax.management
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:

Related Reports
Relates:

Sub Tasks

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
PUBLIC COMMENTS

.
                                     
2004-09-01
WORK AROUND

Put a "type=whatever" in every ObjectName.
                                     
2004-09-01
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
                                     
2004-11-08



Hardware and Software, Engineered to Work Together