[jboss-dev-forums] [Design of POJO Server] - Re: Depending on a MBean

scott.stark@jboss.org do-not-reply at jboss.com
Wed Mar 28 11:45:19 EDT 2007


"bill.burke at jboss.com" wrote : btw, what is a canoical name?  alphabetical sorting of key fields?

Yes, from the ObjectName javadoc:
'jdk5 javadoc" wrote : 
  | public String getCanonicalName()
  | 
  |     Returns the canonical form of the name; that is, a string representation where the properties are sorted in lexical order.
  | 
  |     More precisely, the canonical form of the name is a String consisting of the domain part, a colon (:), the canonical key property list, and a pattern indication.
  | 
  |     The canonical key property list is the same string as described for getCanonicalKeyPropertyListString().
  | 
  |     The pattern indication is:
  | 
  |         * empty for an ObjectName that is not a property pattern;
  |         * an asterisk for an ObjectName that is a property pattern with no keys; or
  |         * a comma and an asterisk (,*) for an ObjectName that is a property pattern with at least one key. 
  | 
  |     Returns:
  |         The canonical form of the name.
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032401#4032401

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032401



More information about the jboss-dev-forums mailing list