Liking cljdoc? Tell your friends :D

fx.module.autowire


AUTOWIRED-KEYclj

source

collect-autowiredclj

(collect-autowired ns autowired item-key item-val)

Assoc key value pair in the autowired map in case if the value metadata contains AUTOWIRED-KEY. Returns autowired map.

Assoc key value pair in the autowired map
in case if the value metadata contains AUTOWIRED-KEY.
Returns autowired map.
sourceraw docstring

composite-integrant-keyclj

source

find-componentsclj

(find-components namespaces)

Given a list of namespaces will scan through all public members. Returns a map containing all ns members who contain AUTOWIRED-KEY in the metadata

Given a list of namespaces will scan through all public members.
Returns a map containing all ns members who contain AUTOWIRED-KEY in the metadata
sourceraw docstring

find-project-namespacesclj

(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 path. 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` path.
Passing nil as argument will lead to returning all namespaces.
sourceraw docstring

get-comp-depsclj

(get-comp-deps component-meta)

Given a function metadata map will traverse all function arguments (:arglists) 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 a vector like [:some/dependency]. Doesn't support multi-arity functions atm.

Given a function metadata map will traverse all function arguments (:arglists)
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 a vector like [:some/dependency].
Doesn't support multi-arity functions atm.
sourceraw docstring

get-params-configclj

(get-params-config deps-keys)

Given a vector of function parameters names returns a configuration map with integrant references. E.g. [:some/dependency] => {:some/dependency (ig/ref :some/dependency)}

Given a vector of function parameters names returns a configuration map
with integrant references.
E.g. [:some/dependency] => {:some/dependency (ig/ref :some/dependency)}
sourceraw docstring

HALT-KEYclj

source

ig-refclj

source

meta->namespaced-keywordsclj

source

prep-componentclj

(prep-component config comp-key comp-value)

Prepare a single component. Few things required for every component:

  1. initialize integrant methods for that component (ig/init-key, ig/halt-key!)
  2. find component dependencies and create integrant references for them
  3. add a component configuration to the main config map
Prepare a single component. Few things required for every component:
1. initialize integrant methods for that component (ig/init-key, ig/halt-key!)
2. find component dependencies and create integrant references for them
3. add a component configuration to the main config map
sourceraw docstring

prep-components-configclj

(prep-components-config components)

Given a map of components will prepare integrant lifecycle methods and configuration for each of them. Returns an integrant style config map for all given components.

Given a map of components will prepare integrant lifecycle methods
and configuration for each of them.
Returns an integrant style config map for all given components.
sourceraw docstring

WRAP-KEYclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close