1.2.0 permalink Arrow_down_16x16

guess-attribute-typename

clojure.contrib.jmx

  • (guess-attribute-typename value)
Guess the attribute typename for MBeanAttributeInfo based on the attribute value.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/jmx/data.clj:85 top

(defn guess-attribute-typename
  "Guess the attribute typename for MBeanAttributeInfo based on the attribute value."
  [value]
  (let [classname (.getName (class value))]
    (get guess-attribute-map classname classname)))
Vars in clojure.contrib.jmx/guess-attribute-typename: defn get let
Used in 0 other vars

Comments top

No comments for guess-attribute-typename. Log in to add a comment.