Created
May 28, 2010 19:52
-
-
Save mefesto/417642 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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