generating clojure bean, which can be used in spring context