• (jmx-url)
  • (jmx-url overrides)
Build a JMX URL from options.

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:19 top

(defn jmx-url
  "Build a JMX URL from options."
  ([] (jmx-url {}))
     (let [opts (merge {:host "localhost", :port "3000", :jndi-path "jmxrmi"} overrides)]
       (format "service:jmx:rmi:///jndi/rmi://%s:%s/%s" (opts :host) (opts :port) (opts :jndi-path)))))
Vars in clojure.contrib.jmx/jmx-url: defn format let
Used in 0 other vars

Comments top

No comments for jmx-url. Log in to add a comment.