Skip to content

Instantly share code, notes, and snippets.

@mefesto
Created May 28, 2010 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mefesto/417642 to your computer and use it in GitHub Desktop.
Save mefesto/417642 to your computer and use it in GitHub Desktop.
(def ctx
(proxy [GenericApplicationContext clojure.lang.ILookup] []
(valAt
([this kwd] (.getBean this (name kwd)))
([this kwd not-found]
(or (.getBean this (name kwd)) not-found)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment