org.springframework.data.redis.core
Class RedisAccessor

java.lang.Object
  extended by org.springframework.data.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.


Field Summary
protected  org.apache.commons.logging.Log logger
          Logger available to subclasses
 
Constructor Summary
RedisAccessor()
           
 
Method Summary
 void afterPropertiesSet()
           
 RedisConnectionFactory getConnectionFactory()
          Returns the connectionFactory.
 void setConnectionFactory(RedisConnectionFactory connectionFactory)
          Sets the connection factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Logger available to subclasses

Constructor Detail

RedisAccessor

public RedisAccessor()
Method Detail

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.