org.springframework.data.keyvalue.redis.core
Class RedisAccessor
java.lang.Object
org.springframework.data.keyvalue.redis.core.RedisAccessor
- All Implemented Interfaces:
- InitializingBean
- Direct Known Subclasses:
- RedisTemplate
public class RedisAccessor
- extends Object
- implements InitializingBean
Base class for RedisTemplate
defining common properties.
Not intended to be used directly.
- Author:
- Costin Leau
Field Summary |
protected org.apache.commons.logging.Log |
logger
Logger available to subclasses |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
- Logger available to subclasses
RedisAccessor
public RedisAccessor()
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface InitializingBean
getConnectionFactory
public RedisConnectionFactory getConnectionFactory()
- Returns the connectionFactory.
- Returns:
- Returns the connectionFactory
setConnectionFactory
public void setConnectionFactory(RedisConnectionFactory connectionFactory)
- Sets the connection factory.
- Parameters:
connectionFactory
- The connectionFactory to set.
Copyright © 2010-2011 SpringSource. All Rights Reserved.