(collect-autowired ns autowired item-key item-val)
Assoc key value pair in the autowired map in case if value meta contains AUTOWIRED-KEY
Assoc key value pair in the autowired map in case if value meta contains AUTOWIRED-KEY
(find-components namespaces)
Given a list of namespaces traverses through all public members. Returns a map containing all ns members who have AUTOWIRED-KEY meta
Given a list of namespaces traverses through all public members. Returns a map containing all ns members who have AUTOWIRED-KEY meta
(find-project-namespaces)
(find-project-namespaces pattern)
Will return all namespaces names as symbols from the classpath. Limit the number of resources by providing a pattern argument. By default, namespaces will be limited to user.dir folder. Passing nil as argument will lead to returning all namespaces.
Will return all namespaces names as symbols from the classpath. Limit the number of resources by providing a pattern argument. By default, namespaces will be limited to user.dir folder. Passing nil as argument will lead to returning all namespaces.
(get-comp-deps component-meta)
Given a function metadata map will traverse all function arguments and collect all items which has a qualified keywords in the metadata. E.g. for function like (defn my-func [^:some/dependency dep] ...) will return list (:some/dependency)
Given a function metadata map will traverse all function arguments and collect all items which has a qualified keywords in the metadata. E.g. for function like (defn my-func [^:some/dependency dep] ...) will return list (:some/dependency)
(get-params-config params-keys)
(prep-component config comp-key comp-value)
Creates an integrant key method and assoc this key in the resulting config
Creates an integrant key method and assoc this key in the resulting config
(prep-components-config components)
Given a list of system components will create an integrant key for each of them. Returns integrant style config map for given components.
Given a list of system components will create an integrant key for each of them. Returns integrant style config map for given components.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close