rlm@10: ;; JMX server APIs for Clojure rlm@10: ;; docs in clojure/contrib/jmx.clj!! rlm@10: rlm@10: ;; by Stuart Halloway rlm@10: rlm@10: ;; Copyright (c) Stuart Halloway, 2009. All rights reserved. The use rlm@10: ;; and distribution terms for this software are covered by the Eclipse rlm@10: ;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) rlm@10: ;; which can be found in the file epl-v10.html at the root of this rlm@10: ;; distribution. By using this software in any fashion, you are rlm@10: ;; agreeing to be bound by the terms of this license. You must not rlm@10: ;; remove this notice, or any other, from this software. rlm@10: rlm@10: (in-ns 'clojure.contrib.jmx) rlm@10: rlm@10: (defn register-mbean [mbean mbean-name] rlm@10: (.registerMBean *connection* mbean (as-object-name mbean-name))) rlm@10: