Example usage for org.springframework.data.redis.support.collections RedisCollectionFactoryBean afterPropertiesSet

List of usage examples for org.springframework.data.redis.support.collections RedisCollectionFactoryBean afterPropertiesSet

Introduction

In this page you can find the example usage for org.springframework.data.redis.support.collections RedisCollectionFactoryBean afterPropertiesSet.

Prototype

public void afterPropertiesSet() 

Source Link

Usage

From source file:org.springframework.integration.redis.outbound.RedisCollectionPopulatingMessageHandler.java

private RedisStore createStoreView(String key) {
    RedisCollectionFactoryBean fb = new RedisCollectionFactoryBean();
    fb.setKey(key);//from   w w  w.  j av a  2s . com
    fb.setTemplate(this.redisTemplate);
    fb.setType(this.collectionType);
    fb.afterPropertiesSet();
    return fb.getObject();
}