Class RedisDBFactory

java.lang.Object
overit.geocall.cache.redis.RedisDBFactory

@Service public class RedisDBFactory extends Object
Factory class used to get the correct instance of RedisDB
  • Constructor Details

    • RedisDBFactory

      public RedisDBFactory(@Qualifier("setup") overit.geocall.config.Config config, overit.geocall.deployment.DeploymentInfo deploymentInfo)
  • Method Details

    • create

      public RedisDB create()
      Create the correct instance of RedisDB based on the actual configuration
      Returns:
      the RedisDB instance
      Throws:
      org.springframework.beans.factory.BeanCreationException - if there's no implementation that supports the actual configuration