Liking cljdoc? Tell your friends :D

buttle.util

Just some helpers.

Just some helpers.
raw docstring

->java-beanclj

(->java-bean class-spec props)

Creates and returns instance of class-typed class-spec and sets Java-Bean properties via setters from props map. Setter-method names are derived from map keys by camel-casing foo-bar to setFooBar. Map values have to be type-conforming (no conversion is done).

Creates and returns instance of class-typed `class-spec` and sets
Java-Bean properties via setters from `props` map. Setter-method
names are derived from map keys by camel-casing `foo-bar` to
`setFooBar`. Map values have to be type-conforming (no conversion is
done).
sourceraw docstring

jndi-lookupclj

(jndi-lookup jndi)

Looks up entry in JNDI and returns it. Throws if entry cannot be found.

Looks up entry in JNDI and returns it. Throws if entry cannot be
found.
sourceraw docstring

logclj

(log & xs)
source

with-tcclcljmacro

(with-tccl cl & body)

Thread-locally binds clojure.core/*use-context-classloader* to true, sets the current thread's context classloader to cl and executes body within that context. On completion restores the context classloader and pops clojure.core/*use-context-classloader* to the previous value. Returns value of body evaluation.

Thread-locally binds `clojure.core/*use-context-classloader*` to
`true`, sets the current thread's context classloader to `cl` and
executes `body` within that context. On completion restores the
context classloader and pops
`clojure.core/*use-context-classloader*` to the previous
value. Returns value of `body` evaluation.
sourceraw docstring

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

× close