Mercurial > lasercutter
comparison src/clojure/contrib/jmx/server.clj @ 10:ef7dbbd6452c
added clojure source goodness
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 21 Aug 2010 06:25:44 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:35cf337adfcf | 10:ef7dbbd6452c |
---|---|
1 ;; JMX server APIs for Clojure | |
2 ;; docs in clojure/contrib/jmx.clj!! | |
3 | |
4 ;; by Stuart Halloway | |
5 | |
6 ;; Copyright (c) Stuart Halloway, 2009. All rights reserved. The use | |
7 ;; and distribution terms for this software are covered by the Eclipse | |
8 ;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) | |
9 ;; which can be found in the file epl-v10.html at the root of this | |
10 ;; distribution. By using this software in any fashion, you are | |
11 ;; agreeing to be bound by the terms of this license. You must not | |
12 ;; remove this notice, or any other, from this software. | |
13 | |
14 (in-ns 'clojure.contrib.jmx) | |
15 | |
16 (defn register-mbean [mbean mbean-name] | |
17 (.registerMBean *connection* mbean (as-object-name mbean-name))) | |
18 |