Hello again,

just in case anybody is following this - I added stuff that lets you 
publish your mutable references (atom, ref, var) as JMX attributes so that 
you may use jconsole to change things at runtime. 

https://github.com/henrik42/spring-break#changing-mutable-state-references-via-jmx-attributes

Publishing is as easy as


<bean name="clj_states" parent="clojure_fact">
    <constructor-arg value="
    (require 'spring-break.jmx)
    (spring-break.jmx/make-mbean 
      :my_mbean
      (atom 42 
        :validator number? 
        :meta {:attr-name (name :an_atom) 
               :attr-description (name :a_description) }))
    " />
  </bean>


-- Henrik

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to