@groovy.util.logging.Commons class RedisConfigurationUtil extends java.lang.Object
This class provides a closure that can (and must) be used within the context of a BeanBuilder. To wire all redisServices using a custom class do the following def configureService = RedisConfigurationUtil.configureService def redisConfigMap = application.config.grails.redis ?: [:] configureService.delegate = delegate configureService(redisConfigMap, "", MyRedisService) redisConfigMap?.connections?.each { connection -> configureService(connection.value, connection?.key?.capitalize(), MyRedisService) }*
| Type | Name and description |
|---|---|
static java.lang.Object |
configureServicedelegate to wire up the required beans. |
| Constructor and description |
|---|
RedisConfigurationUtil
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static java.lang.Object |
findValidPoolProperties(java.lang.Object properties) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation