The JMX ObjectName syntax does not allow for many useful key/value
pairs found commonly in a J2EE platform. We have run up against this already
when using the EJB JNDI name as a property in an ObjectName. The simplest
example is a JNDI name that is a URL(jnp://xzy.dom.com/ejb/myhome).

Now we got around this by coming up with a notion of escaping the invalid
chars, but this requires that context in which the ObjectName is being created
to know that a given key/value pair may be invalid. It also makes the key/value
pair not available in its non-escaped form via ObjectName.getKeyProperty(String 
property).
Is there a way we could build an ObjectName using the ObjectName(String domain, 
Hashtable table)
ctor and have the escaping added to the string format of the name but be
able to access the "native" form of the value?

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to