Re: Soften interface for javax.management.ObjectName.getInstance and friends

2017-02-24 Thread Daniel Fuchs
Hi Dave, I'm not sure this is quite a good idea because order doesn't count when comparing ObjectNames. So the folder analogy would just be a lure: /a/b/c would be equal to /a/c/b That said - I can see value in trying to get rid of the legacy Hashtable - so adding a new method that takes a Map

Re: Soften interface for javax.management.ObjectName.getInstance and friends

2017-02-23 Thread Mandy Chung
You should send this topic to serviceability-dev which is the mailing list for JMX and other serviceability related issues. Mandy > On Feb 23, 2017, at 4:17 PM, Dave Brosius wrote: > > Greetings. the method > > public static ObjectName getInstance(String domain, > Hashtable table) >th

Soften interface for javax.management.ObjectName.getInstance and friends

2017-02-23 Thread Dave Brosius
Greetings. the method public static ObjectName getInstance(String domain, Hashtable table) throws MalformedObjectNameException { return new ObjectName(domain, table); } in javax.management.ObjectName allows for a provided Hashtable to specify properties for the objectname.